='".date("Y-m-d")."' AND (adverts.status='1' OR adverts.status='6') AND adverts.mainImage!='' ".$all_advs." ORDER BY RAND() LIMIT 1"); $SHOW_PLATS=mysqli_fetch_array($ALL_PLATS); $comp_name=addslashes(getCompName($SHOW_PLATS['user'])); if($comp_name=="") { $comp_name="Blackmores"; } if($SHOW_PLATS['alias']=="") { $adv_links='viewDetailedAdvert.php?id='.$SHOW_PLATS['MID'].'&grade=6'; } else { $adv_links="health-".$SHOW_PLATS['alias'].".html"; } ?>
load($filename); $image->resize(60,30); $image->save($filedir.$userfile_name); } ?>
='".date("Y-m-d")."' AND adverts.mainImage!='' AND (adverts.grade=5 AND adverts.upgradedCategory='') AND adverts.title!='' AND (adverts.status='1' OR adverts.status='6') ".$all_advs." ORDER BY RAND() LIMIT 1 "); $SHOW_GOLDS=mysqli_fetch_array($ALL_GOLDS); $comp_name=addslashes(getCompName($SHOW_GOLDS['user'])); if($comp_name=="") { $comp_name="Blackmores"; } if($SHOW_GOLDS['alias']=="") { $adv_links='viewDetailedAdvert.php?id='.$id.'&grade=5'; } else { $adv_links="health-".$SHOW_GOLDS['alias'].".html"; } ?>
load($filename); $image->resize(60,30); $image->save($filedir.$userfile_name); } ?>
='".date("Y-m-d")."' AND adverts.mainImage!='' AND (adverts.grade=4 AND adverts.upgradedCategory='') AND adverts.title!='' AND (adverts.status='1' OR adverts.status='6') ".$all_advs." ORDER BY RAND() LIMIT 1 "); $SHOW_SILVERS=mysqli_fetch_array($ALL_SILVERS); $comp_name=addslashes(getCompName($SHOW_SILVERS['user'])); if($comp_name=="") { $comp_name="Blackmores"; } if($SHOW_SILVERS['alias']=="") { $adv_links='viewTestDetailedAdvert.php?id='.$id.'&grade=4'; } else { $adv_links="health-".$SHOW_SILVERS['alias'].".html"; } ?>
load($filename); $image->resize(60,30); $image->save($filedir.$userfile_name); } ?>