your professional coder
you know better than me
anyways if it doesnt work just replace max.php
but for me this works
you know better than me
anyways if it doesnt work just replace max.php
but for me this works
I don't know how did you get into here, but there's nothing to show 0 Home else if($action=="useav") { $gid = $_GET["gid"]; addonline(getuid_sid($sid),"Updating Avatar",""); echo ""; echo ""; echo ""; echo ""; echo ""; echo " "; $getimg = mysql_fetch_array(mysql_query("SELECT itemurl FROM ibwf_gallery WHERE id='".$gid."'")); $avatar = $getimg[0]; $uid = getuid_sid($sid); $res = mysql_query("Update ibwf_users SET avatar='".$avatar."' WHERE id='".$uid."'"); if($res) { echo "Avatar was successfully updated "; }else{ echo "Database Error! "; } echo " "; echo ""; echo "Home"; echo " "; echo ""; } else if($action=="delgal") { $gid = $_GET["gid"]; addonline(getuid_sid($sid),"Deleting Gallery Photo",""); echo ""; echo ""; echo ""; echo ""; echo ""; echo " "; $itemowner = mysql_fetch_array(mysql_query("SELECT uid FROM ibwf_gallery WHERE id='".$gid."'")); if(ismod(getuid_sid($sid))||getuid_sid($sid)==$itemowner[0]) { $res = mysql_query("DELETE FROM ibwf_gallery WHERE id='".$gid."'"); $res2 = mysql_query("DELETE FROM ibwf_galcomments WHERE pid='".$gid."'"); $res3 = mysql_query("DELETE FROM ibwf_prate WHERE pid='".$gid."'"); if($res||res2||res3) { echo "Photo Deleted From Gallery "; }else{ echo "Database Error! "; } }else{ echo "You can't delete this Photo"; } echo " "; echo ""; echo "Home"; echo " "; echo ""; } else if($action=="addgal") { $itemurl = $_POST["itemurl"]; $uid = getuid_sid($sid); $nopl = mysql_fetch_array(mysql_query("SELECT sex FROM ibwf_users WHERE id='".$uid."'")); if($nopl[0]=='M') { $usex = "M"; }else if($nopl[0]=='F'){ $usex = "F"; }else{ $usex = "M"; } echo ""; echo ""; echo ""; echo ""; echo ""; echo " "; $res = mysql_query("INSERT INTO ibwf_gallery SET uid='".$uid."', itemurl='".$itemurl."', sex='".$usex."'"); if($res) { echo "User Photo Added "; }else{ echo "Database Error "; } echo "User Gallery "; echo ""; echo "Home"; echo " "; echo ""; }else if($action=="commentadd") { $text = $_POST["text"]; $prate = $_POST["prate"]; $gid = $_GET["gid"]; addonline(getuid_sid($sid),"Adding Photo Comment",""); echo ""; echo ""; echo ""; echo ""; echo ""; echo " "; $crdate = time(); $uid = getuid_sid($sid); $res = false; if(trim($text)!="") { $res = mysql_query("INSERT INTO ibwf_galcomments SET text='".$text."', byuser='".$uid."', time='".$crdate."', pid='".$gid."'"); } if($res) { echo "Comment Added Successfully "; }else{ echo "Error Adding Comment"; } if($prate!="") { $res2 = mysql_query("INSERT INTO ibwf_prate SET uid='".$uid."', pid='".$gid."', prate='".$prate."'"); if($res2) { echo "Photo rated successfully "; }else{ echo "Database Error! "; } } echo " "; echo ""; echo "Home"; echo " "; echo ""; }
echo " <form name=\"form2\" enctype=\"multipart/form-data\" method=\"post\" action=\"upload.php?action=upload&sid=$sid\" />"; echo "<input type=\"file\" size=\"32\" name=\"my_field\" value=\"\" />"; echo "<input type=\"hidden\" name=\"action\" value=\"image\" /> "; echo "<input type=\"submit\" name=\"Submit\" value=\"upload\" />"; echo "</form>";
<?php /* IrisBlaze wap forum by Ra'ed Shabana */ //>> » //<< « include("config.php"); include("core.php"); include("xhtmlfunctions.php"); ?> <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> <html> <head> <meta http-equiv="Content-Type" content="text/html"/> <meta http-equiv="Cache-Control" content="no-cache" forua="true"/> <title>Modus foto upload</title></head> <body bgcolor="#FFFFFF" text="#000000" link="#0000FF" vlink="#800080"> <?php $action = $_GET["action"]; $sid = $_GET["sid"]; $whoimage = $_GET["whoimage"]; $bcon = connectdb(); if(islogged($sid)==false) { $pstyle = gettheme($sid); echo xhtmlhead("ModuS",$pstyle); echo "<p align=\"center\">"; echo "Niste Ulogovani "; echo "ili vam je isteklo login vreme! "; echo "<a href=\"index.php\">Udji Ponovo;)</a>"; echo "</p>"; exit(); } $uid = getuid_sid($sid); if(isbanned($uid)) { $pstyle = gettheme($sid); echo xhtmlhead("ModuS",$pstyle); echo "<p align=\"center\">"; echo "<img src=\"images/notok.gif\" alt=\"x\"/> "; echo "Vi ste [b]Banovani ! ! ![/b] "; $banto = mysql_fetch_array(mysql_query("SELECT timeto FROM ibwf_metpenaltiespl WHERE uid='".$uid."' AND penalty='1'")); $banres = mysql_fetch_array(mysql_query("SELECT lastpnreas FROM ibwf_users WHERE id='".$uid."'")); $remain = $banto[0]- (time() - $timeadjust); $rmsg = gettimemsg($remain); echo "Vreme Do isteka Ban Kazne je : $rmsg "; echo "Razlog Bana je : $banres[0]"; //echo "<a href=\"index.php\">Login</a>"; echo "</p>"; exit(); } if($action=="upload") { addonline(getuid_sid($sid),"Upload-uje Sliku",""); $rate = $_POST["rate"]; $comment = $_POST["comment"]; set_time_limit(0); echo " [size="1"]"; echo "<form method=\"post\" enctype=\"multipart/form-data\" action=\"upload.php?action=upload&sid=$sid\" />"; ?> [b]Izaberite sliku:[/b] <input align="center" type="file" name="superdat"> <input align="center" type="hidden" name="action" value="image"/> <INPUT align="center" TYPE=SUBMIT NAME="submit" VALUE="Upload"> [/size] </FORM> <?php echo "</small></p>"; ////// UNTILL HERE >> echo "<p align=\"center\">"; echo " <a href=\"gallery.php?action=main&sid=$sid\">«Nazad u Galeriju</a> "; echo "<a href=\"index.php?action=main&sid=$sid\"><img src=\"images/home.gif\" alt=\"*\"/>"; echo "ModuS</a>"; echo "</p>"; }else { addonline(getuid_sid($sid),"Izgubljen u Galeriji !",""); $pstyle = gettheme($sid); echo xhtmlhead("Gallery",$pstyle); echo "<p align=\"center\">"; echo "Ovde nema nichega,proverite adresu koju ste uneli;) "; echo "<a href=\"index.php?action=main&sid=$sid\"><img src=\"images/home.gif\" alt=\"*\"/>"; echo "ModuS</a>"; echo "</p>"; } ?> </body> </html>
<?php /* IrisBlaze wap forum by Ra'ed Shabana */ //>> » //<< « include("config.php"); include("core.php"); include("xhtmlfunctions.php"); header("Content-type: text/html; charset=ISO-8859-1"); echo "<?xml version=\"1.0\" encoding=\"ISO-8859-1\" ?>"; echo "<!DOCTYPE html PUBLIC \"-//W3C//DTD XHTML 1.0 Transitional//EN\" \"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd\">"; ?> <?php if($action=="upload") { addonline(getuid_sid($sid),"Uploading a Photo",""); $rate = $_POST["rate"]; $comment = $_POST["comment"]; $pstyle = gettheme($sid); echo xhtmlhead("Uploading",$pstyle); set_time_limit(0); echo " [size="1"]"; echo " Izaberi sliku: "; echo " <form name=\"form2\" enctype=\"multipart/form-data\" method=\"post\" action=\"upload.php?action=upload&sid=$sid\" />"; echo "<input type=\"file\" size=\"32\" name=\"my_field\" value=\"\" />"; echo "<input type=\"hidden\" name=\"action\" value=\"image\" /> "; echo "<input type=\"submit\" name=\"Submit\" value=\"upload\" />"; echo "</form>"; echo "[/size]</p>"; ////// UNTILL HERE >> echo "<p align=\"center\">"; echo " <a href=\"usergallery.php?action=main&sid=$sid\">«Back to Gallery</a> "; echo "<a href=\"index.php?action=main&sid=$sid\"><img src=\"images/home.gif\" alt=\"*\"/>"; echo "Home</a>"; echo "</p>"; echo xhtmlfoot(); } ?>
<?php /* IrisBlaze wap forum by Ra'ed Shabana */ //>> » //<< « include("config.php"); include("core.php"); include("xhtmlfunctions.php"); ?> <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> <html> <head> <meta http-equiv="Content-Type" content="text/html"/> <meta http-equiv="Cache-Control" content="no-cache" forua="true"/> <title>Modus foto upload</title></head> <body bgcolor="#FFFFFF" text="#000000" link="#0000FF" vlink="#800080"> <?php $action = $_GET["action"]; $sid = $_GET["sid"]; $whoimage = $_GET["whoimage"]; $bcon = connectdb(); if(islogged($sid)==false) { $pstyle = gettheme($sid); echo xhtmlhead("ModuS",$pstyle); echo "<p align=\"center\">"; echo "Niste Ulogovani "; echo "ili vam je isteklo login vreme! "; echo "<a href=\"index.php\">Udji Ponovo;)</a>"; echo "</p>"; exit(); } $uid = getuid_sid($sid); if(isbanned($uid)) { $pstyle = gettheme($sid); echo xhtmlhead("ModuS",$pstyle); echo "<p align=\"center\">"; echo "<img src=\"images/notok.gif\" alt=\"x\"/> "; echo "Vi ste [b]Banovani ! ! ![/b] "; $banto = mysql_fetch_array(mysql_query("SELECT timeto FROM ibwf_metpenaltiespl WHERE uid='".$uid."' AND penalty='1'")); $banres = mysql_fetch_array(mysql_query("SELECT lastpnreas FROM ibwf_users WHERE id='".$uid."'")); $remain = $banto[0]- (time() - $timeadjust); $rmsg = gettimemsg($remain); echo "Vreme Do isteka Ban Kazne je : $rmsg "; echo "Razlog Bana je : $banres[0]"; //echo "<a href=\"index.php\">Login</a>"; echo "</p>"; exit(); } if($action=="upload") { addonline(getuid_sid($sid),"Upload-uje Sliku",""); $rate = $_POST["rate"]; $comment = $_POST["comment"]; set_time_limit(0); echo " [size="1"]"; echo "<form method=\"post\" enctype=\"multipart/form-data\" action=\"upload.php?action=upload&sid=$sid\" />"; ?> [b]Izaberite sliku:[/b] <input align="center" type="file" name="superdat"> <input align="center" type="hidden" name="action" value="image"/> <INPUT align="center" TYPE=SUBMIT NAME="submit" VALUE="Upload"> [/size] </FORM> <?php echo "</small></p>"; ////// UNTILL HERE >> echo "<p align=\"center\">"; echo " <a href=\"gallery.php?action=main&sid=$sid\">«Nazad u Galeriju</a> "; echo "<a href=\"index.php?action=main&sid=$sid\"><img src=\"images/home.gif\" alt=\"*\"/>"; echo "ModuS</a>"; echo "</p>"; }else { addonline(getuid_sid($sid),"Izgubljen u Galeriji !",""); $pstyle = gettheme($sid); echo xhtmlhead("Gallery",$pstyle); echo "<p align=\"center\">"; echo "Ovde nema nichega,proverite adresu koju ste uneli;) "; echo "<a href=\"index.php?action=main&sid=$sid\"><img src=\"images/home.gif\" alt=\"*\"/>"; echo "ModuS</a>"; echo "</p>"; } ?> </body> </html>
<?php /* IrisBlaze wap forum by Ra'ed Shabana */ //>> » //<< « include("config.php"); include("core.php"); include("xhtmlfunctions.php"); header("Content-type: text/html; charset=ISO-8859-1"); echo "<?xml version=\"1.0\" encoding=\"ISO-8859-1\" ?>"; echo "<!DOCTYPE html PUBLIC \"-//W3C//DTD XHTML 1.0 Transitional//EN\" \"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd\">"; ?> <?php if($action=="upload") { addonline(getuid_sid($sid),"Uploading a Photo",""); $rate = $_POST["rate"]; $comment = $_POST["comment"]; $pstyle = gettheme($sid); echo xhtmlhead("Uploading",$pstyle); set_time_limit(0); echo " [size="1"]"; echo " Izaberi sliku: "; echo " <form name=\"form2\" enctype=\"multipart/form-data\" method=\"post\" action=\"upload.php?action=upload&sid=$sid\" />"; echo "<input type=\"file\" size=\"32\" name=\"my_field\" value=\"\" />"; echo "<input type=\"hidden\" name=\"action\" value=\"image\" /> "; echo "<input type=\"submit\" name=\"Submit\" value=\"upload\" />"; echo "</form>"; echo "[/size]</p>"; ////// UNTILL HERE >> echo "<p align=\"center\">"; echo " <a href=\"usergallery.php?action=main&sid=$sid\">«Back to Gallery</a> "; echo "<a href=\"index.php?action=main&sid=$sid\"><img src=\"images/home.gif\" alt=\"*\"/>"; echo "Home</a>"; echo "</p>"; echo xhtmlfoot(); } ?>
Comment