Nah sorry then was not actually boasting but i just no in the sql it is ibwf_users etc not methos must just add few more tables like mainthemes wil check my sql place n post parts here
Methos Script
Collapse
X
-
i cant be assed doing it anyway heres the table for ibwf_metpenaltiespl
Code:DROP TABLE IF EXISTS ibwf_metpenaltiespl; CREATE TABLE IF NOT EXISTS ibwf_metpenaltiespl ( timeto int(100) NOT NULL, uid tinyint(100) NOT NULL, penalty char(1) NOT NULL, ipadd varchar(30) NOT NULL, browserm varchar(50) NOT NULL ) ENGINE=MyISAM DEFAULT CHARSET=latin1;
Comment
-
i cant be assed doing it anyway heres the table for ibwf_metpenaltiespl
Code:DROP TABLE IF EXISTS ibwf_metpenaltiespl; CREATE TABLE IF NOT EXISTS ibwf_metpenaltiespl ( timeto int(100) NOT NULL, uid tinyint(100) NOT NULL, penalty char(1) NOT NULL, ipadd varchar(30) NOT NULL, browserm varchar(50) NOT NULL ) ENGINE=MyISAM DEFAULT CHARSET=latin1;
Comment
-
Guest
great,thank you WhiteWarrior /well,i this one table will not help that script work,but thank you amy
Comment
-
Guest
i have problem with deleteing folders in inbox,can someone see where is mistake?I can edit folder,but can't delete
Code:else if($action=="delfolder") { addonline(getuid_sid($sid),"Deleting PM Folder",""); $pstyle = gettheme($sid); echo xhtmlhead("Deleting PM Folder",$pstyle); echo "<p align=\"center\">"; $folderid = $_POST["fid"]; $res = mysql_query("DELETE FROM ibwf_private_folders WHERE folderid='".$folderid."'"); $sql = "SELECT folderid FROM ibwf_private WHERE folderid='".$folderid."'"; $items = mysql_query($sql); echo mysql_error(); if(mysql_num_rows($items)>0) { while ($item = mysql_fetch_array($items)) { $sql = mysql_query("UPDATE ibwf_private SET folderid='0' WHERE folderid='".$folderid."'"); } } if($res) { echo "<img src=\"images/ok.gif\" alt=\"O\"/>Folder Deleted Successfully "; }else{ echo "<img src=\"images/notok.gif\" alt=\"O\"/>Delete Error! "; } echo " "; $thid = mysql_fetch_array(mysql_query("SELECT themeid FROM ibwf_users WHERE id='".$uid."'")); $themeimageset = mysql_fetch_array(mysql_query("SELECT themedir FROM ibwf_iconset WHERE id='".$thid[0]."'")); echo "<a href=\"inbox.php?action=main&sid=$sid\">«Back to Inbox</a> "; echo "<a href=\"index.php?action=main&sid=$sid\"><img src=\"images/themes/$themeimageset[0]/home.gif\" alt=\"*\"/>"; echo "Home</a>"; echo "</p>"; echo xhtmlfoot(); }
Comment
Comment