- Impact
- 60,880
Hey there, hopefully someone can help me with this problem!
Here is the situation.. bought a "affiliate script" from a site and have for the last few days been trying to add content (link, images and text) to this script from a "add listing" part of the website. I follow the instructions and "fill in" where I am supposed to fill in, I click on "Add This Product" and a "red circle with upload" appears and doesn't upload at all.. no matter what browser I use..
Screenshot
Not sure if this is the right coding (was told it is a "call to action" script.. Header.php
Not sure what else is needed...and did contact support.."their 24 to 48 hours" response time is not the truth!
Here is the situation.. bought a "affiliate script" from a site and have for the last few days been trying to add content (link, images and text) to this script from a "add listing" part of the website. I follow the instructions and "fill in" where I am supposed to fill in, I click on "Add This Product" and a "red circle with upload" appears and doesn't upload at all.. no matter what browser I use..
Screenshot
Not sure if this is the right coding (was told it is a "call to action" script.. Header.php
PHP:
<?php include("db.php");
if($squ = $mysqli->query("SELECT * FROM settings WHERE id='1'")){
$settings = mysqli_fetch_array($squ);
$squ->close();
}else{
printf("Error: %s\n", $mysqli->error);
}
$urlTitle = parse_url($_SERVER['REQUEST_URI']);
$pageName = $urlTitle['path'];
if($pageName == '/about_us.html'){
$pageTitle = 'About Us | ';
} else if($pageName == '/contactus.html'){
$pageTitle = 'Contact Us | ';
} else if($pageName == '/privacy_policy.html'){
$pageTitle = 'Privacy Policy | ';
} else if($pageName == '/tos.html'){
$pageTitle = 'Terms of Use | ';
} else if($pageName == '/feeds.html'){
$pageTitle = 'RSS Feeds | ';
} else {
$pageTitle = '';
}
//Tot Site Views
$SiteHits = $settings['site_hits'];
$SiteHits = $SiteHits + 1;
$mysqli->query("UPDATE settings SET site_hits='$SiteHits' WHERE id='1'") or die(mysqli_error());
?>
<!doctype html>
<html>
<head>
<meta charset="utf-8">
<title><?php echo $pageTitle;?><?php echo $settings['name']; ?></title>
<meta name="description" content="<?php echo $settings['descrp']; ?>" />
<meta name="keywords" content="<?php echo $settings['keywords']; ?>" />
<link href="favicon.ico" rel="shortcut icon" type="image/x-icon"/>
<link href="templates/<?php echo $settings['template'];?>/css/style.css" rel="stylesheet" type="text/css">
<script src="js/jquery.min.js"></script>
<script type="text/javascript" src="http://w.sharethis.com/button/buttons.js"></script>
<script type="text/javascript">stLight.options({publisher: "ur-de6b7a4a-e967-4778-5476-54ab547cb1bb", doNotHash: false, doNotCopy: false, hashAddressBar: false});</script>
</head>
<body>
<div id="fb-root"></div>
<script>(function(d, s, id) {
var js, fjs = d.getElementsByTagName(s)[0];
if (d.getElementById(id)) return;
js = d.createElement(s); js.id = id;
js.src = "//connect.facebook.net/en_US/all.js#xfbml=1";
fjs.parentNode.insertBefore(js, fjs);
}(document, 'script', 'facebook-jssdk'));</script>
<header>
<div class="top-bar">
<div class="tb-center">
<div class="tb-left">Welcome to <?php echo $settings['name'];?>!!</div>
<div class="tb-right"><a href="about_us.html" class="ht-links" target="_self">About Us</a> | <a href="privacy_policy.html" class="ht-links" target="_self">Privacy Policy</a> | <a href="tos.html" class="ht-links" target="_self">Terms of Use</a> | <a href="contactus.html" class="ht-links" target="_self">Contact Us</a></div>
</div><!--tb-center-->
</div><!--top-bar-->
<div class="h-content">
<div class="h-data">
<div class="logo"><a href="index.html"><img src="images/logo.png" width="264" height="49" alt="<?php echo $settings['name'];?>" longdesc="index.html"></a></div>
<div class="social-icons"> <a href="<?php echo $settings['fbpage'];?>" target="_blank"><img src="templates/<?php echo $settings['template'];?>/images/fb.png" width="32" height="32" alt="facebook"></a>
<a href="<?php echo $settings['twitter'];?>" target="_blank"><img src="templates/<?php echo $settings['template'];?>/images/twitter.png" width="32" height="32" alt="twitter"></a>
<a href="<?php echo $settings['pinterest'];?>" target="_blank"><img src="templates/<?php echo $settings['template'];?>/images/pinterest.png" width="32" height="32" alt="pinterest"></a>
<a href="<?php echo $settings['google_plus'];?>" target="_blank"><img src="templates/<?php echo $settings['template'];?>/images/googleplus.png" width="32" height="32" alt="google plus"></a>
<a href="rss_feeds.html"><img src="templates/<?php echo $settings['template'];?>/images/rss.png" width="32" height="32" alt="rss feeds"></a>
</div><!--social-icons-->
</div><!--h-data-->
</div><!--h-content-->
<div id="menu-bar">
<nav id='menu'>
<ul>
<li><a href='index.html'><span>Home</span></a></li>
<?php
if($MenuSql = $mysqli->query("SELECT * FROM categories ORDER BY cname ASC")){
while ($MenuRow = mysqli_fetch_array($MenuSql)){
$MurlRow = $MenuRow['cname'];
$Murl = preg_replace("![^a-z0-9]+!i", "-", $MurlRow);
$Murl = strtolower($Murl);
?>
<li><a href='cat-<?php echo $MenuRow['id'];?>-<?php echo $Murl;?>-newest.html'><span><?php echo $MenuRow['cname'];?></span></a></li>
<?php
}
$MenuSql->close();
}else{
printf("Error: %s\n", $mysqli->error);
}
?>
</ul>
</nav>
</div><!--menu-bar-->
</header>
Not sure what else is needed...and did contact support.."their 24 to 48 hours" response time is not the truth!