"; OpenTable(); $curr_uid = $cookie[0]; $NowUnixTime = GetUnixTimeNow(); AdsBoxHeader($curr_uid); echo "
"; echo "
.:: "._NUKECYOURPOSTEDADS." ::.

"; $sqlposted = "select id_ads,title,dateposted,validuntil from ".$prefix."_nukec_ads_ads "; $sqlposted .= "where validuntil > '".$NowUnixTime."' and submitter='$curr_uid' and active = '1'"; $sqlposted .= " order by id_ads DESC"; $resposted = $db->sql_query($sqlposted); if ($db->sql_numrows($resposted) > 0) { OpenTableNukeC(); echo ""; echo "\n" ."\n" ."\n" .""; if ($DeletePostedAds or $DeletePostedAds) { echo "\n"; } echo ""; $i = 0; while (list($id_ads,$title,$dateposted,$validuntil) = $db->sql_fetchrow($resposted)) { $i++; if ($i % 2 == 0) { $bgc = $adsbgcolor2; $i = 0; } else { $bgc = $adsbgcolor4; } $daysremain = countremaindays($validuntil); echo "\n" ."\n" ."\n" .""; if ($DeletePostedAds or $DeletePostedAds) { echo ""; } } echo "
"._NUKECADSTITLE.""._NUKECPOSTEDON.""._NUKECEXPDON.""._NUKECDAYSREMAIN." 
$title".FormatDateAds($dateposted,$Date_Format_code)."".FormatDateAds($validuntil,$Date_Format_code)."$daysremain "._NUKECADSDAYS.""; if ($EditPostedAds) { echo "\""._NUKECEDIT1."\""; } if ($DeletePostedAds) { echo " \""._NUKECDELETE."\"\n"; } echo "
"; CloseTableNukeC(); echo "

"; } else { echo "
"._NUKECUHVNOADSPOSTED."
"; echo "

"; } $db->sql_freeresult($resposted); $sqlexp = "select id_ads,title,dateposted,validuntil from ".$prefix."_nukec_ads_ads "; $sqlexp .= "where validuntil <= '".$NowUnixTime."' and submitter='$curr_uid' and active = '1'"; $sqlexp .= " order by id_ads"; $resexp = $db->sql_query($sqlexp); echo "
.:: "._NUKECYOUREXPADS." ::.

"; if ($db->sql_numrows($resexp) > 0) { OpenTableNukeC(); echo ""; echo "\n" ."\n" ."\n" ."" .""; $i = 0; while (list($id_ads,$title,$dateposted,$validuntil) = $db->sql_fetchrow($resexp)) { $i++; if ($i % 2 == 0) { $bgc = $adsbgcolor2; $i = 0; } else { $bgc = $adsbgcolor4; } echo "\n" ."\n" ."\n" ."\n" .""; } echo "
"._NUKECADSTITLE.""._NUKECPOSTEDON.""._NUKECEXPDON." 
$title".FormatDateAds($dateposted,$Date_Format_code)."".FormatDateAds($validuntil,$Date_Format_code)."\""._NUKECREPOST."\"" ." \n" ."\""._NUKECDELETE."\"
"; CloseTableNukeC(); echo "

"; } else { echo "
"._NUKECUHVNOADSEXP."
"; echo "

"; } $db->sql_freeresult($resexp); $sqlsaved = "select id_save,title,dateposted,submiter from ".$prefix."_nukec_ads_box "; $sqlsaved .= "where owner='$curr_uid'"; $sqlsaved .= " order by id_save DESC"; $ressaved = $db->sql_query($sqlsaved); echo "
.:: "._NUKECHOTADSBOX." ::.

"; if ($db->sql_numrows($ressaved) > 0) { OpenTableNukeC(); echo ""; echo "\n" ."\n" ."\n" ."" .""; $i = 0; while (list($id_ads,$title,$dateposted,$submitter) = $db->sql_fetchrow($ressaved)) { $i++; if ($i % 2 == 0) { $bgc = $adsbgcolor2; $i = 0; } else { $bgc = $adsbgcolor4; } $memberinfo = MemberInfo($submitter); echo "\n" ."\n" ."\n" ."\n" .""; } echo "
"._NUKECADSTITLE.""._NUKECPOSTEDON.""._NUKECSUBMITBY." 
$title".FormatDateAds($dateposted,$Date_Format_code)."$memberinfo[username] \""._NUKECVIEW."\"" ." \""._NUKECDELETE."\"
"; CloseTableNukeC(); echo "

"; } else { echo "
"._NUKECUHVNOADSINBOX."
"; } $db->sql_freeresult($ressaved); /* validuntil <= '".$NowUnixTime."' */ $sqlexp = "select id_ads,title,dateposted,validuntil from ".$prefix."_nukec_ads_ads "; $sqlexp .= "where submitter='$curr_uid' and active = '0'"; $sqlexp .= " order by id_ads"; $resexp = $db->sql_query($sqlexp); echo "
.:: Pending Ads ::.

"; if ($db->sql_numrows($resexp) > 0) { OpenTableNukeC(); echo ""; echo "\n" ."\n" ."\n" ."" ."" .""; $i = 0; while (list($id_ads,$title,$dateposted,$validuntil) = $db->sql_fetchrow($resexp)) { $i++; if ($i % 2 == 0) { $bgc = $adsbgcolor2; $i = 0; } else { $bgc = $adsbgcolor4; } echo "\n" ."\n" ."\n" ."" ."\n" .""; } echo "
"._NUKECADSTITLE.""._NUKECPOSTEDON.""._NUKECEXPDON."  
$title".FormatDateAds($dateposted,$Date_Format_code)."".FormatDateAds($validuntil,$Date_Format_code).""; if ($validuntil <= $NowUnixTime) { /* expired */ $repostadsstatus = 1; $imgstatus = "expired.gif"; $altmsg = "Your ads had expired"; } else { $repostadsstatus = 0; $imgstatus = "pending.gif"; $altmsg = "Waiting to be reviewed"; } echo "\"".$altmsg."\""; echo "\""._NUKECREPOST."\"" ." \n" ."\""._NUKECDELETE."\"
"; CloseTableNukeC(); echo "

"; } else { echo "
You have no pending ads
"; echo "

"; } $db->sql_freeresult($resexp); CloseTable(); @include("footer.php"); } function SaveAds($id_ads) { global $prefix,$db,$cookie,$module_name; @include("header.php"); $sql = "select id_catg,title,ads_desc,imageads,curr,price,submitter,email,website,dateposted,validuntil from ".$prefix."_nukec_ads_ads where id_ads='$id_ads'"; $res = $db->sql_query($sql); if ($db->sql_numrows($res) != 0) { $sqls = "select id_ads from ".$prefix."_nukec_ads_box where id_ads='$id_ads'"; $resbox = $db->sql_query($sqls); if ($db->sql_numrows($resbox) > 0) { MenuNukeC(1); echo "
"; OpenTable(); echo "
"._NUKECADSALREADYSAVED."\n" ."

[ "._NUKECBACKTOADSBOX." ] " ."

\n"; CloseTable(); } else { list($id_catg,$title,$ads_desc,$imageads,$curr,$price,$submitter,$email,$website,$dateposted,$validuntil) = $db->sql_fetchrow($res); $title = addslashes($title); $ads_desc = addslashes($ads_desc); $sqlinsert = "insert into ".$prefix."_nukec_ads_box values(NULL,'$id_ads','$cookie[0]','".$id_catg."','$title','$ads_desc','$imageads','$curr','$price','$submitter','$email','$website','$dateposted','$validuntil')"; $res = $db->sql_query($sqlinsert); if (!$res) { die (mysql_error()); } header("Location:modules.php?name=".$module_name."&file=adsbox&op=Done&msgid=adsSaved"); } } else { MenuNukeC(1); echo "
"; OpenTable(); echo "
"._NUKECERRORSAVEADS."\n" ."

[ "._NUKECBACKTOADSBOX." ] " ."

\n"; CloseTable(); } @include("footer.php"); } function DoUpdateAds($id_ads_chng,$submitteruid_chng,$title_chng,$cdesc_chng,$catgforprocess_chng,$price_chng,$website_chng,$email_chng,$setemptyimg,$fileupload_chng,$fileupload_chng_name,$fileupload_chng_type,$fileupload_chng_size,$adslanguage_chng,$AdsCurr) { global $prefix,$db,$module_name,$multilingual,$currentlang,$MemberorNot,$UploadPath; global $cookie,$user,$UploadImage,$anonymous,$DescLength,$DurationAds,$PriceField,$UploadImage,$TitleLength,$UploadImageSize,$UploadImagewidth,$UploadImageHeight,$UploadImageType; if ((!$title_chng) || ($title_chng == "") || (strlen($title_chng) > $TitleLength)) $errorTitle = 1; if ((!$cdesc_chng) || ($cdesc_chng == "") || (strlen($cdesc_chng) > $DescLength)) $errorCdesc = 1; if ($email_chng != ""){ if (!eregi("^[_\.0-9a-z-]+@([0-9a-z][0-9a-z-]+\.)+[a-z]{2,6}$",$email_chng)) $errorEmail = 1; } if (!$setemptyimg) { if ($UploadImage && ($fileupload_chng != "") && ($fileupload_chng != "none")) { if ($fileupload_size_chng > ($UploadImageSize * 1024)) { $errorImageSize = 1; } $imageadstype = basename($fileupload_chng_type); if (in_array($imageadstype,$UploadImageType)) { $imgsize = getimagesize($fileupload_chng); $imgwidth = $imgsize[0]; $imgheight = $imgsize[1]; if (($imgwidth > $UploadImagewidth) || ($imgheight > $UploadImageHeight)) { $errorImageDimension = 1; } } else { $errorImageType = 1; } } } if ($errorTitle || $errorCdesc || $errorPrice || $erroremailanony || $errorEmail || $errorImageSize || $errorImageDimension || $errorImageType) { @include("header.php"); MenuNukeC(1); echo "
"; OpenTable(); echo "
"._NUKECUPDATEERROR."

"; echo "
"; if ($errorTitle) { if ($title == "") { echo "
"._NUKECERRORTITLE."
"; } if (($title != "") && (strlen($title) > $TitleLength)) { echo "
"._NUKECERRORCTITLEMAX." $TitleLength "._NUKECCHARS."
"; } } if ($errorCdesc) { if ($cdesc_chng == "") { echo "
"._NUKECERRORCDESCEMPTY."
"; } if (($cdesc_chng != "") && (strlen($cdesc_chng) > $DescLength)) { echo "
"._NUKECERRORCDESCMAX." $DescLength "._NUKECCHARS."
"; } } if ($erroremailanony) { echo "
"._NUKECANONYEMAILREQ."
"; } if ($errorEmail) { echo "
"._NUKECERROREMAIL."
"; } if ($errorImageSize) { echo "
"._NUKECERRORMAXSIZEALLOWED." $UploadImageSize "._NUKECKB."
"; } if ($errorImageDimension) { echo "
"._NUKECERRORMAXDIMENSION." $UploadImageHeight x $UploadImagewidth "._NUKECPIXEL."
"; } if ($errorImageType) { echo "
"._NUKECALLOWEDFILETYPE.": "; for ($i = 0;$i<= sizeof($UploadImageType)-1;$i++) { echo "'.".$UploadImageType[$i]."'"; if ($j != sizeof($UploadImageType)-1) { echo ", "; } $j++; } echo "
"; } echo "

"._NUKECPLEASEGOBACK.""; echo "
<< "._NUKECGOBACK.""; echo "
"; CloseTable(); @include("footer.php"); } else { $sqlupdate = "update ".$prefix."_nukec_ads_ads"; $ads_title = FixQuotes(filter_text($title_chng, "nohtml")); $ads_content = FixQuotes(nl2br(filter_text($cdesc_chng))); if ($price_chng != "") { $price_chng = FixQuotes(filter_text($price_chng, "nohtml")); $AdsCurrx = $AdsCurr; } else { $AdsCurrx = ""; } $sqlupdate .= " set title='$title_chng', ads_desc='$ads_content', "; $sqlupdate .= " id_catg='$catgforprocess_chng', price='$price_chng', website='$website_chng', "; $sqlupdate .= " email='$email_chng' "; if (!$setemptyimg) { if ($fileupload_chng != "") { $type = basename($fileupload_chng_type); $filename = $UploadPath."$id_ads_chng.".$type; copy ($fileupload_chng, $filename); $imguploadname = $id_ads_chng.".".$type; $sqlupdate .= ", imageads='$imguploadname' "; } } if ($setemptyimg) { $sqlupdate .= ",imageads='' "; } if ($multilingual) { $sqlupdate .= ", language='$adslanguage_chng' "; } $sqlupdate .= " where id_ads='$id_ads_chng' and submitter='$submitteruid_chng'"; $res = $db->sql_query($sqlupdate); header("Location:modules.php?name=".$module_name."&file=adsbox&op=Done&msgid=AdsUpdated"); } } function repostads ($id_ads){ global $admin, $module_name,$prefix,$db,$multilingual,$currentlang,$MemberorNot,$bgcolor1,$bgcolor2,$bgcolor3; global $cookie,$user,$UploadImage,$anonymous,$DescLength,$DurationAds,$PriceField,$UploadImage,$TitleLength, $RepostExpiredAds; @include("header.php"); MenuNukeC(1); echo "
"; OpenTable(); echo "
"._NUKECREPOSTPOSTED."

"; $adsinfo = AdsInfo($id_ads); themeads ($adsinfo[id_ads],$adsinfo[id_catg],$adsinfo[title],$adsinfo[ads_desc],$adsinfo[imageads],$adsinfo[curr],$adsinfo[price],$adsinfo[submitter],$adsinfo[email],$adsinfo[website],$adsinfo[dateposted],$adsinfo[hits]); $validuntil = $adsinfo[validuntil]; $NowUnixTime = GetUnixTimeNow(); if (($validuntil <= $NowUnixTime) && ($RepostExpiredAds) || (is_admin($admin))) { echo "
" ."
\n"; echo "\n"; echo "\n"; echo _NUKECREPOSTFOR.": \n" ."\n" ."" ."
"; } CloseTable(); @include("footer.php"); } function DoRepost($id_ads_chng,$submitteruid_chng,$postfor_chng) { global $prefix,$db,$module_name; $nowdatetmp = date("H i s m d Y"); $datearraytmp = explode (" ", $nowdatetmp); $NewAdsExpUnixTime = GetTimeUnix($datearraytmp[0],$datearraytmp[1],$datearraytmp[2],$datearraytmp[3],$datearraytmp[4],$datearraytmp[5],0,$postfor_chng,0); $sqlupdate = "update ".$prefix."_nukec_ads_ads set validuntil='".$NewAdsExpUnixTime."'"; $sqlupdate .= "where id_ads='$id_ads_chng' and submitter='$submitteruid_chng'"; $res = $db->sql_query($sqlupdate); header("Location:modules.php?name=".$module_name."&file=adsbox&op=Done&msgid=AdsReposted"); } function viewadsbox($id_save) { global $cookie,$prefix,$db,$module_name,$AnonyComment,$user,$anonymous,$admin; @include("header.php"); MenuNukeC(1); echo "
"; OpenTable(); $db->sql_query("update ".$prefix."_nukec_ads_ads set hits=hits+1 where id_ads='$id_ads'"); $sql = "select id_ads,owner,id_catg,title,ads_desc,imageads,curr,price,submiter,email,url,dateposted,validuntil from ".$prefix."_nukec_ads_box where id_save='$id_save'"; $res = $db->sql_query($sql); list($id_ads,$owner,$id_catg,$title,$ads_desc,$imageads,$curr,$price,$email,$submitter,$website,$dateposted,$validuntil) = $db->sql_fetchrow($res); echo "
"._NUKECSAVEDADSDETAIL."\n" ."

[ "._NUKECBACKTOADSBOX." | \n" ." "._NUKECDELETE." ]" ."

\n"; savedadsdetail($id_save,$id_ads,$owner,$id_catg,$title,$ads_desc,$imageads,$curr,$price,$email,$submitter,$website,$dateposted,$validuntil); echo "
\n" ."
[ "._NUKECBACKTOADSBOX." | \n" ." "._NUKECDELETE." ]" ."

\n"; CloseTable(); @include("footer.php"); } function SendToFriend($xid_ads){ global $cookie,$user; global $prefix,$db,$module_name,$multilingual,$currentlang,$MemberorNot,$perpage,$user_prefix; @include("header.php"); $nowdate = date("Y-m-d"); MenuNukeC(0); echo "
"; OpenTable(); $sqlFriendAds = "select title from ".$prefix."_nukec_ads_box where id_save='$xid_ads'"; $resultFriendAds = sql_query($sqlFriendAds,$dbi); if (!$resultFriendAds) echo mysql_error(); list ($title) = sql_fetch_row($resultFriendAds,$dbi); echo "
"._NUKECFRIEND."


" .""._NUKECYOUSENDADS." $title "._NUKECTOAFRIEND."

" ."
" .""; if (is_user($user)) { $result=$db->sql_query("select name, user_email from ".$user_prefix."_users where username='$cookie[1]'"); list($yn, $ye) = $db->sql_fetchrow($result); } echo ""._NUKECFYOURNAME."

\n" .""._NUKECFYOUREMAIL."


\n" .""._NUKECFFRIENDNAME."

\n" .""._NUKECFFRIENDEMAIL."

\n" ."\n" ."\n" ."
\n"; CloseTable(); @include("footer.php"); } function DoSendAds($id, $yname, $ymail, $fname, $fmail) { global $sitename, $nukeurl, $prefix, $db, $module_name; global $Date_Format_code; $res = $db->sql_query("select id_ads,title,id_catg,dateposted from ".$prefix."_nukec_ads_box where id_save='$id'"); list($id_ads,$title,$id_catg,$dateposted) = $db->sql_fetchrow($res); $adsinfo = AdsInfo($id_ads); $subject = ""._NUKECINTERESTING." $sitename"; $headers = "MIME-Version: 1.0\r\n"; $headers .= "Content-type: text/html; charset=iso-8859-1\r\n"; $headers .= "From: $yname <$ymail>\r\n"; $message = ""._NUKECHELLO." ".$fname.":

"._NUKECYOURFRIEND." $yname "._NUKECCONSIDERED."
"; $message .= "
$adsinfo[title]
("._NUKECFDATE." ".FormatDateAds($adsinfo[dateposted],$Date_Format_code).")
"._NUKECFTOPIC." ".getcategoryname($adsinfo[id_catg])."
"; $adsURL = "".$nukeurl."/modules.php?name=".$module_name."&op=ViewDetail&id_ads=".$id_ads.""; $adsURL .= "".$adsURL."\n"; $message .= "
"._NUKECURL.":

"._NUKECYOUCANREAD." $sitename

$nukeurl"; mail($fmail, $subject, $message, $headers); $fname = urlencode($fname); $id = urlencode($id); header("Location: modules.php?name=".$module_name."&file=adsbox&op=Done&msgid=MsgSent&id=$id&fname=$fname"); die(); } function Done($msgid) { global $prefix,$db,$module_name,$id,$fname,$to; @include("header.php"); MenuNukeC(1); echo "
"; OpenTable(); echo "
"; switch($msgid){ case "adsSaved" : echo _NUKECSAVEADSSUCCESS; break; case "AdsUpdated" : echo _NUKECUPDATEADSSUCCESS; break; case "AdsReposted": echo _NUKECREPOSTADSDONE;break; case "SavedAdsDeleted":echo _NUKECSAVESADSDELETEDSUCC; break; case "AdsDeleted": echo _NUKECADSDELETEDSUCC;break; case "MailSent": echo ""._NUKECMAILSENT." $to

"._NUKECTHANKS."";break; case "MsgSent": { $fname = urldecode($fname); $id = urldecode($id); $res = $db->sql_query("select title from ".$prefix."_nukec_ads_box where id_save='$id'"); list ($title) = $db->sql_fetchrow($res); echo ""._NUKECADS." $title "._NUKECHASSENT." $fname...

"._NUKECTHANKS.""; } break; } echo "

\n"; echo "
[ "._NUKECVIEWADSBOX." ]
"; CloseTable(); @include("footer.php"); } function deleteadsbox($id_save) { global $module_name,$prefix,$db,$cookie; @include("header.php"); MenuNukeC(1); echo "
"; OpenTable(); echo "
"._NUKECDELETEADSBOXCONFIRM."\n" ."

"._NUKECDELETESAVEDADSCONFIRM1."" //@RJR-Pwmg@Rncvkpwo@-@Eqratkijv@(e)@VgejIHZ.eqo ." [ "._NUKECYES." \n" ."| "._NUKECNO." ]

"; CloseTable(); @include("footer.php"); } function DoDeleteAdsBox($id_save,$uid) { global $prefix,$db,$module_name; $db->sql_query("delete from ".$prefix."_nukec_ads_box where id_save ='$id_save' and owner='$uid'"); header("Location:modules.php?name=".$module_name."&file=adsbox&op=Done&msgid=SavedAdsDeleted"); } function deleteads($id_ads) { global $module_name,$prefix,$db,$cookie, $DeletePostedAds; if ($DeletePostedAds) { @include("header.php"); MenuNukeC(1); echo "
"; OpenTable(); echo "
"._NUKECDELETECONFIRM."\n" ."

"._NUKECDELETEADSCONFIRM1."" ." [ "._NUKECYES." \n" ."| "._NUKECNO." ]

"; $adsinfo = AdsInfo($id_ads); themeads ($adsinfo[id_ads],$adsinfo[id_catg],$adsinfo[title],$adsinfo[ads_desc],$adsinfo[imageads],$adsinfo[curr],$adsinfo[price],$adsinfo[submitter],$adsinfo[email],$adsinfo[website],$adsinfo[dateposted],$adsinfo[hits]); CloseTable(); @include("footer.php"); } else { header("Location:index.php"); } } function DoDeleteAds ($id_ads,$uid) { global $prefix,$db,$module_name; $db->sql_query("delete from ".$prefix."_nukec_ads_ads where id_ads ='$id_ads' and submitter='$uid'"); header("Location:modules.php?name=".$module_name."&file=adsbox&op=Done&msgid=AdsDeleted"); } function Contact($xid_save){ global $prefix,$db,$module_name,$cookie,$user,$multilingual,$currentlang,$MemberorNot,$perpage,$user_prefix; @include("header.php"); $nowdate = date("Y-m-d"); MenuNukeC(0); echo "
"; OpenTable(); $res = $db->sql_query("select title,email from ".$prefix."_nukec_ads_box where id_save='$xid_save'"); list ($title,$email) = $db->sql_fetchrow($res); echo "
"._NUKECCONTACTTITLE."


" ." "._NUKECCONTACT1." $email "._NUKECCONTACT2." $title

" ."
"; echo ""; if (is_user($user)) { $result=$db->sql_query("select name, user_email from ".$user_prefix."_users where username='$cookie[1]'"); list($yn, $ye) = $db->sql_fetchrow($result); } echo ""._NUKECFYOURNAME."


\n" .""._NUKECFYOUREMAIL."


\n" .""._NUKECSUBJECT." :


\n" .""._NUKECYOURMSG." :
" ."

" ."\n" ."\n" ."
\n"; CloseTable(); @include("footer.php"); } function SendContact($tomail,$yname, $ymail, $pesan,$subjek) { global $sitename, $nukeurl, $prefix, $db, $module_name,$slogan; $msg = "$sitename - $slogan \n $nukeurl \n\n"; $msg .= ""._NUKECSENDERNAME.": $yname\n"; $msg .= ""._NUKECSENDEREMAIL.": $ymail\n"; $msg .= ""._NUKECMESSAGE.": $pesan\n\n"; $subject= $subjek; $to = $tomail; $mailheaders = "From: $yname <$ymail>\n"; $mailheaders .= "Reply-To: $ymail\n\n"; mail($to, $subject, $msg, $mailheaders); $to = urlencode($tomail); header("Location: modules.php?name=".$module_name."&file=adsbox&op=Done&msgid=MailSent&to=$to"); } function AdsBoxHeader($curr_uid) { global $prefix,$db,$module_name,$adsbgcolor1,$adsbgcolor2,$adsbgcolor3,$adsbgcolor4,$adsbgcolor5,$MaxAllowedAds; echo "\n" ."\n" ."" ."
\"\"
"._NUKECYOURADSBOX."
"; $CountActiveAds = AdsPostedByUser($curr_uid,$countactiveads=1,$countexpiredads=0,$countpendingads=0); $CountExpAds = AdsPostedByUser($curr_uid,$countactiveads=0,$countexpiredads=1,$countpendingads=0); $CountPendingAds = AdsPostedByUser($curr_uid,$countactiveads=0,$countexpiredads=0,$countpendingads=1); $JmlTotalAds = $CountActiveAds + $CountExpAds + $CountPendingAds; OpenTableNukeC(); echo ""; echo "\n"; echo "\n"; echo "\n"; echo "\n"; echo "\n"; echo "
Your AdsBox summary
Total ads : ".$JmlTotalAds."
Active Ads : ".$CountActiveAds." / Expired Ads : ".$CountExpAds."
Pending Ads : ".$CountPendingAds."
You are using ".$JmlTotalAds." out of ".$MaxAllowedAds." Total
"; CloseTableNukeC(); echo "
"; } switch($op) { case "DoDeleteAds": DoDeleteAds ($id_ads,$uid);break; case "DoDeleteAdsBox": DoDeleteAdsBox($id_ads,$uid);break; case "DoRepost":DoRepost($id_ads_chng,$submitteruid_chng,$postfor_chng);break; case "DoUpdateAds" : DoUpdateAds($id_ads_chng,$submitteruid_chng,$title_chng,$cdesc_chng,$catgforprocess_chng,$price_chng,$website_chng,$email_chng,$setemptyimg,$fileupload_chng,$fileupload_chng_name,$fileupload_chng_type,$fileupload_chng_size,$adslanguage_chng,$AdsCurr);break; case "deleteadsbox" : deleteadsbox($id_ads);break; case "viewadsbox" : viewadsbox($id_ads);break; case "editposted" : editposted($id_ads);break; case "repostads" : repostads ($id_ads);break; case "deleteads" : deleteads($id_ads);break; case "SaveAds": SaveAds($id_ads);break; case "SendToFriend" : SendToFriend($id_ads);break; case "DoSendAds": DoSendAds($id_ads, $yname, $ymail, $fname, $fmail);break; case "Contact": Contact($id_ads);break; case "SendContact":SendContact($tomail,$yname, $ymail, $pesan,$subjek);break; case "Done":Done($msgid);break; default : Index(); break; } } else { @include("header.php"); MenuNukeC(1); echo "
"; OpenTable(); echo "
"._NUKECYOURADSBOX."

\n"; printnotallowforanonymouse(); CloseTable(); @include("footer.php"); } ?>