A PHP Error was encountered
Severity: 16384
Message: This installation of the SDK is using PHP version 7.4.33, which will be deprecated on January 13th, 2025.
Please upgrade your PHP version to a minimum of 8.1.x to continue receiving updates for the AWS SDK for PHP.
To disable this warning, set suppress_php_deprecation_warning to true on the client constructor or set the environment variable AWS_SUPPRESS_PHP_DEPRECATION_WARNING to true.
More information can be found at: https://aws.amazon.com/blogs/developer/announcing-the-end-of-support-for-php-runtimes-8-0-x-and-below-in-the-aws-sdk-for-php/
Filename: src/ClientResolver.php
Line Number: 1409
Backtrace:
File: /var/www/html/Main/vendor/aws/aws-sdk-php/src/ClientResolver.php
Line: 1409
Function: trigger_error
File: /var/www/html/Main/vendor/aws/aws-sdk-php/src/ClientResolver.php
Line: 1206
Function: emitDeprecationWarning
File: /var/www/html/Main/vendor/aws/aws-sdk-php/src/ClientResolver.php
Line: 450
Function: _apply_suppress_php_deprecation_warning
File: /var/www/html/Main/vendor/aws/aws-sdk-php/src/AwsClient.php
Line: 249
Function: resolve
File: /var/www/html/Main/application/models/Home_model.php
Line: 23
Function: __construct
File: /var/www/html/Main/application/models/Home_model.php
Line: 13
Function: initAws
File: /var/www/html/Main/application/controllers/Templates.php
Line: 10
Function: model
File: /var/www/html/Main/index.php
Line: 320
Function: require_once
Copyright ©2021 PPT Design | All rights reserved.
Subscription Purchase Successful!
You can now access templates as per subscription plan
Your 7 Day Trial has started
https://ppt-design.com/template/getFilterData',
data: {"categoryid":$categoryid,"searchtemplate":$searchtemplate,"recentval":recentval,"ispopular":ispopular,"isfreetemp":isfreetemp,"ptempid":ptempid,"compatibilitydata":compatibilitydata,"multicateid":multicateid,"pageno":pageno},
cache: false,
success: function(data)
{
//alert(data);
var obj = $.parseJSON(data);
if(obj.status=='true')
{
//alert(obj.startno);
if(pageno == 0)
{
$(".prebtn").hide();
}
else
{
$(".prebtn").show();
}
$nextno = parseInt(pageno) + 1;
$presno = parseInt(pageno) - 1;
//alert(pageno);
$("#nextpageno").val($nextno);
$("#previouspageno").val($presno);
if(obj.dis == 'Nextdisabled')
{
$(".nextbtn").hide();
}
else
{
$(".nextbtn").show();
}
//$('#filterdata').html(obj.que+''+obj.dvstr);
$('#filterdata').html(obj.dvstr);
$(".totalslide").text(obj.startno + ' of ' + obj.totalallcount +' slides');
if(obj.startno != obj.totalallcount){
$('#paginext').show();
}else{
$('#paginext').hide();
}
}
else if(obj.status=='false')
{
$('#filterdata').html(obj.dvstr);
$(".totalslide").text(obj.startno + ' of ' + obj.totalallcount +' slides');
if(obj.startno != obj.totalallcount){
$('#paginext').show();
}else{
$('#paginext').hide();
}
$(".nextbtn").hide();
}
}
});
return false;
}
function downloadhistory(id,tempname,categ){
// alert(id);
$.ajax({
type: "POST",
url:'https://ppt-design.com/template/downloadhistory',
data: {'id':id,'tempname':tempname,'categ':categ},
cache: false,
success: function(result)
{
}
});
}
function downloadTemplate(id,tempname, categ)
{
$.ajax({
type: "POST",
url:'https://ppt-design.com/template/getDownloadTemplateUrl',
data: {'id' : id},
cache: false,
success: function(result)
{
if (get_url_extension(result) == 'pptx') {
downloadURI(result, tempname)
downloadhistory(id,tempname, categ)
} else {
window.location.href = result
}
}
});
}
function downloadURI(uri, name) {
var link = document.createElement("a");
link.download = name;
link.href = uri;
link.click();
link.remove();
}
function get_url_extension( url ) {
return url.split(/[#?]/)[0].split('.').pop().trim();
}