i'm not stupid enough to add tools like that to my scripts so i don't use any
all my work is done via a root terminal from my server so cannot give you anything sorry
delete all pms in tools
Collapse
X
-
whats the coding ur using for host tools i been trying to get host tools on my script so i am not down as owner on my sites can u help me please with it thanks
Leave a comment:
-
could also just add in a tiny bit where it says $res = mysql_query("DELETE FROM ibwf_private WHERE reported!='1' AND starred='1' AND unread='1'");
to
$res = mysql_query("DELETE FROM ibwf_private WHERE reported!='1' AND starred='1' AND unread='1' AND read='1'");
Leave a comment:
-
whats the coding ur using for host tools i been trying to get host tools on my script so i am not down as owner on my sites can u help me please with it thanksOriginally posted by lee27 View Postyeah thanks i just added it and works nice 1 bud
Leave a comment:
-
i did want just ghost inboxs to b deleted but am new to this so not sure if can b done
Leave a comment:
-
lol thanx m8 its not for owners just me as host incase i need it save me goin in database to do it thanx bud
Leave a comment:
-
and then users will 'kill' owner LMAO:DOriginally posted by subzero View PostThis code here will delete all
PHP Code://////////////////////////clear inboxs//////////////////////////
else if($action=="delallpms")
{
echo "<head>";
echo "<title>Host Tools</title>";
echo "<link rel=\"stylesheet\" type=\"text/css\" href=\"../themes/$theme[0]\">";
echo "</head>";
echo "<body>";
echo "<p align=\"center\">";
echo "<br/>";
$res = mysql_query("DELETE FROM ibwf_private");
if($res)
{
echo "<img src=\"../images/ok.gif\" alt=\"O\"/>All PMS were deleted";
}else{
echo "<img src=\"../images/notok.gif\" alt=\"X\"/>Database Error!";
}
echo "<a href=\"hostcp.php?action=clrdta&sid=$sid\">Cle ar Data</a><br/>";
echo "<a href=\"hostcp.php?action=hostcp&sid=$sid\"><im g src=\"../images/admn.gif\" alt=\"\"/>Host Tools</a><br/>";
echo "<a href=\"index.php?action=main&sid=$sid\"><img src=\"../images/home.gif\" alt=\"\"/>Home</a>";
echo "</p></body>";
}

Leave a comment:
-
This code here will delete all
PHP Code://////////////////////////clear inboxs//////////////////////////
else if($action=="delallpms")
{
echo "<head>";
echo "<title>Host Tools</title>";
echo "<link rel=\"stylesheet\" type=\"text/css\" href=\"../themes/$theme[0]\">";
echo "</head>";
echo "<body>";
echo "<p align=\"center\">";
echo "<br/>";
$res = mysql_query("DELETE FROM ibwf_private");
if($res)
{
echo "<img src=\"../images/ok.gif\" alt=\"O\"/>All PMS were deleted";
}else{
echo "<img src=\"../images/notok.gif\" alt=\"X\"/>Database Error!";
}
echo "<a href=\"hostcp.php?action=clrdta&sid=$sid\">Cle ar Data</a><br/>";
echo "<a href=\"hostcp.php?action=hostcp&sid=$sid\"><im g src=\"../images/admn.gif\" alt=\"\"/>Host Tools</a><br/>";
echo "<a href=\"index.php?action=main&sid=$sid\"><img src=\"../images/home.gif\" alt=\"\"/>Home</a>";
echo "</p></body>";
}
Leave a comment:
-
delete all pms in tools
any ov ya able help me do this eres wot i got in hostproc wen i click it it just deletes read inboxs and not all inboxs
PHP Code://////////////////////////clear inboxs//////////////////////////
else if($action=="delallpms")
{
echo "<head>";
echo "<title>Host Tools</title>";
echo "<link rel=\"stylesheet\" type=\"text/css\" href=\"../themes/$theme[0]\">";
echo "</head>";
echo "<body>";
echo "<p align=\"center\">";
echo "<br/>";
$res = mysql_query("DELETE FROM ibwf_private WHERE reported!='1' AND starred='1' AND unread='1'");
if($res)
{
echo "<img src=\"../images/ok.gif\" alt=\"O\"/>All PMS were deleted";
}else{
echo "<img src=\"../images/notok.gif\" alt=\"X\"/>Database Error!";
}
echo "<a href=\"hostcp.php?action=clrdta&sid=$sid\">Clear Data</a><br/>";
echo "<a href=\"hostcp.php?action=hostcp&sid=$sid\"><img src=\"../images/admn.gif\" alt=\"\"/>Host Tools</a><br/>";
echo "<a href=\"index.php?action=main&sid=$sid\"><img src=\"../images/home.gif\" alt=\"\"/>Home</a>";
echo "</p></body>";
}
any help b great guys thanxLast edited by subzero; 28.04.09, 19:08.Tags: None
Leave a comment: