Jump to content

delete from mysql


burnside

Recommended Posts

Hey, i am trien with no sucsess to delete a record from my mysql database via a link, any one got any ideas ??

 

code is :

$get_log = mysql_query(sprintf("SELECT * FROM `logged` ORDER BY 'id' DESC LIMIT 0, 20 ")) or die('Error: ' . mysql_error());
				while($log = mysql_fetch_array($get_log))
			{

				echo " <table width=\"50%\"> <td width=\"15%\"> <a href=\"view.php?\">" .$log['changed_by']. "</a></td> <td width=\"10%\">" .$log['there_id']. "</td><td width=\"20%\">".$log['action']."</td><td width=\"15%\">".$log['date']."</td><td width=\"15%\"><a href=\"?delete=post" .$log['id']. "\">Delete</a> | Contact</td></table>";
			}



if($_GET[delete] == 'post&$log[id]') { echo " woot woot ".$log['id']. " deleted will add mysql query "; }

 

i dont get any error just when i click on the delete link its takes me to a blank page.

 

 

Link to comment
Share on other sites

Change:

<a href=\"?delete=post" .$log['id']. "\">Delete</a>

 

To:

<a href=\"?delete=1&post_id=" .$log['id']. "\">Delete</a>

 

Change:

if($_GET[delete] == 'post&$log[id]') { echo " woot woot ".$log['id']. " deleted will add mysql query "; }

 

To:

<?php
if( $_GET['delete'] === '1' && !empty($_POST['post_id']) ) {
    echo " woot woot ".$_POST['id']. " deleted will add mysql query ";
}

 

Delete routine:

<?php
// sanitize $_POST['id']
$sql = "DELETE FROM `thisTable`
        WHERE `idField` = '" . $_POST['id'] . "'
        LIMIT 1
       ";
if ( !$result = mysql_query($sql) ) {
    die('Delete failed: ' . mysql_error());
}
// delete succeeded

 

PhREEEk

Link to comment
Share on other sites

thats the link and code b4 it,

 

$get_log = mysql_query(sprintf("SELECT * FROM `logged` ORDER BY 'id' DESC LIMIT 0, 20 ")) or die('Error: ' . mysql_error());
				while($log = mysql_fetch_array($get_log))
			{

				echo " <table width=\"50%\"> <td width=\"15%\"> <a href=\"view.php?\">" .$log['changed_by']. "</a></td> <td width=\"10%\">" .$log['there_id']. "</td><td width=\"20%\">".$log['action']."</td><td width=\"15%\">".$log['date']."</td><td width=\"15%\"><a href=\"?delete=1&post_id=" .$log['id']. "\">Delete</a> | Contact</td></table>";
			}

		}

 

Link to comment
Share on other sites

hey sorry for slow reply been busy the source code is :

 

 
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>Severance Dawn 0f destruction</title>
<meta http-equiv="Content-Language" content="English" />
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<meta name="author" content="Burnside Severance Dawn of destruction" />
<meta name="description" content="Online free text game" />
<meta name="keywords" content="free,online,text,game,rpg" />	
<meta name="Robots" content="index,follow" />
<meta name="Generator" content="" />
<link rel="stylesheet" type="text/css" href="style.css" media="screen" />
<link rel="alternate" type="application/rss+xml" title="RSS 2.0" href="rss/" />
</head>
<body>



<div id="topbar">
	<div class="content">
		<div id="icons">
				<a href="\#\" title="Home page"><img src="images/home.gif" alt="Home" /></a>
				<a href="\#\" title="Contact us"><img src="images/contact.gif" alt="Contact" /></a>
				<a href="\#\" title="Sitemap"><img src="images/sitemap.gif" alt="Sitemap" /></a>
		</div>
		<div class="url">
			<a href=\"#\" title="">Severance Dawn of Destruction</a>
		</div>
	</div>
</div>

<div id="top">
<div class="content">
		<div id="menu">
			<ul>	
				<li><a href="thehood.php" title="The Brotherhood"><span>The Brotherhood</span></a></li>
				<li><a href="#" title="Articles"><span>woot</span></a></li>
				<li><a href="#" title="Gallery"><span>woot</span></a></li>
				<li><a href="#" title="Affiliates"><span>woot</span></a></li>
				<li><a href="#" title="Articles"><span>woot</span></a></li>
				<li><a href="#" title="Abous us"><span>woot</span></a></li>
				<li><a href="#" title="Contact"><span>woot</span></a></li>
			</ul>
		</div>
		<h1><a href="#" title="">Severanc3</a></h1>
		<h2>Dawn of Destruction</h2>
</div>
</div>


<div class="content">
<div id="main">
	<div class="right_side">
		<div class="pad">
			<h3>Battle Information</h3>
			<ul>
							<li> Level : <strong><u>1</u></strong></li>
			<li> Strength : <strong><u>10</u></strong> </li>
			 <li> Speed : <strong><u>10</u></strong></li>
			 <li> Endurance : <strong><u>10</u></strong></li>
			<li> Wisdom : <strong><u>10</u></strong></li>
			<li>Total Points : <strong><u>40</u></strong></li>
			<li> Un-used Points : <strong><a href=thehood.php?action=upgrade><u>10</a></u></strong></li>


			 <li> Hit Points :   <u>1</u>  /  <u>7500</u>  </li>



<div id="holder" style="border: 1px solid #333; width: 100px; height: 5px; background: gray; ">
<div id="bar" style="background: #c00; height: 5px; width: 0px;">















			</ul>				
			<h3>Battle Stats </h3>
				<ul> 
				 Trainer Battles
				<li> Trainers Won : 89098 <img src="img/win.gif" /></li>
				<li> Trainers Lost : 1000 <img src="img/lose.gif" /></li>
				<li> Total Trainer Battles : 90098	
				<br />
				</ul>
				<ul>
				 Player Battles

				<li> Battles Won : 9999  <span style="color: red"><strong> 98.59</strong></span> </li>
				<li> Battles Lost : 67  <span style="color: red"><strong> 0.66</strong></span> </li>
				<li> Battles Draw : 76  <span style="color: red"><strong> 0.75</strong></span> </li>
				<li> Total Battles : 143 </li>
				<li> Last Killed : No Result</a></li>
				<li> Killed By : No Result</a></li>
				<li> Last Draw : No Result</a></li>
				</ul>




		</div>
	</div>


	<div class="right_side">
		<div class="pad">
			<h3>Player Information</h3>
				<ul>
				<li>Username : <strong>php elite</strong></li><br />
				<li>Hit Points : 1 / 7500</li>

<div id="holder" style="border: 1px solid #333; width: 150px; height: 5px; background: gray; ">
<div id="bar" style="background: #c00; height: 5px; width: 0px;">



</div>
</div><br />Exp 
<div id="holder" style="border: 1px solid #333; width: 150px; height: 10px; background: gray;">
<div id="bar" style="background: green; height: 10px; width: 84px;"></div>
</div><br /><br />
				</ul>
			<h3>Custom Links</h3>
							<ul><li><a href=thehood >The Brotherhood</a>     ||     <a href=edit><strong>Edit</a></strong> </li><li><a href=empty >No Link Set</a>     ||     <a href=edit><strong>Edit</a></strong> </li><li><a href=empty >No Link Set</a>     ||     <a href=edit><strong>Edit</a></strong> </li><li><a href=empty >No Link Set</a>     ||     <a href=edit><strong>Edit</a></strong> </li></ul>


			<h3>php elite Secret Stash</h3>
			<ul>
			<li>Gold Coins : <strong>1000</strong></li>
			<li>Silver Coins : <strong>1000</strong></li>
			<li>Small Keys : <strong>0</strong></li>
			<li>Medium Keys : <strong>0</strong></li>
			<li>Large Keys : <strong>0</strong></li>
			</ul>
			<h3>Game Link's</h3>
			<ul>
				<li><a href="thehood.php">The Brotherhood</a></li>
				<li><a href="logout.php">Logout</a></li>
			</ul>
			</div>
	</div>


		<div class="mpart">    Welcome back <span style="color: gray;"><strong> php elite </strong></span> You currently have logged in <span style="color :gray;"><strong>53</strong></span> times. Logged Ip address is <span style="color: gray;"><strong>127.0.0.1</strong></span><br /><br />    <a href="?reset=count">Reset Online Count</a> || <a href="?view=log">View Reset Log</a> || <a href="?add_message=yes_please">Add Game Message</a> <br /><br />   Message Date : <font color="#d0eb55">2007-11-30</font>   Posted By : <font color="#d0eb55">Php Elite</font>   Security Level : <font color="#d0eb55">8</font><br />   
			Message Importance : <font color="green"> Medium </font> <br />   Message Reads :    <font color="#d0eb55">This message is a test post. </font><br /><br />   Message Date : <font color="#d0eb55">2007-11-29</font>   Posted By : <font color="#d0eb55">Php N00b</font>   Security Level : <font color="#d0eb55">8</font><br />   
			Message Importance : <font color="red"> High </font> <br />   Message Reads :    <font color="#d0eb55">This is a test post. With high importance.</font> <br /></strong>  <br /><br />

<div id="footer">
	<div class="right">© Copyright 2007, Severance Dawn of Destruction - Design: Burnside</div>
			</div>
</div>
</body>
</html> 

     

 

you need any other code?

Link to comment
Share on other sites

Your PHP code is supposed to make a dynamic URL that says:

 

http://yoursite.com?delete=1&post_id={some-number}

 

I had you post the HTML source so that we could see whether or not that URL is being created properly. The source you posted has no URL with 'delete' in it anywhere...

 

So let's go back to the original posted question/problem:

 

Hey, i am trien with no sucsess to delete a record from my mysql database via a link, any one got any ideas ??

 

You are saying you click a link to delete, but it doesn't work. When you have the ACTUAL PAGE loaded with this link on it, please copy the HTML source from that page and paste it here.

 

PhREEEk

Link to comment
Share on other sites

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>Severance Dawn 0f destruction</title>
<meta http-equiv="Content-Language" content="English" />
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<meta name="author" content="Burnside Severance Dawn of destruction" />
<meta name="description" content="Online free text game" />
<meta name="keywords" content="free,online,text,game,rpg" />	
<meta name="Robots" content="index,follow" />
<meta name="Generator" content="" />
<link rel="stylesheet" type="text/css" href="style.css" media="screen" />
<link rel="alternate" type="application/rss+xml" title="RSS 2.0" href="rss/" />
</head>
<body>



<div id="topbar">
	<div class="content">
		<div id="icons">
				<a href="\#\" title="Home page"><img src="images/home.gif" alt="Home" /></a>
				<a href="\#\" title="Contact us"><img src="images/contact.gif" alt="Contact" /></a>
				<a href="\#\" title="Sitemap"><img src="images/sitemap.gif" alt="Sitemap" /></a>
		</div>
		<div class="url">
			<a href=\"#\" title="">Severance Dawn of Destruction</a>
		</div>
	</div>
</div>

<div id="top">
<div class="content">
		<div id="menu">
			<ul>	
				<li><a href="thehood.php" title="The Brotherhood"><span>The Brotherhood</span></a></li>
				<li><a href="#" title="Articles"><span>woot</span></a></li>
				<li><a href="#" title="Gallery"><span>woot</span></a></li>
				<li><a href="#" title="Affiliates"><span>woot</span></a></li>
				<li><a href="#" title="Articles"><span>woot</span></a></li>
				<li><a href="#" title="Abous us"><span>woot</span></a></li>
				<li><a href="#" title="Contact"><span>woot</span></a></li>
			</ul>
		</div>
		<h1><a href="#" title="">Severanc3</a></h1>
		<h2>Dawn of Destruction</h2>
</div>
</div>


<div class="content">
<div id="main">
	<div class="right_side">
		<div class="pad">
			<h3>Battle Information</h3>
			<ul>
							<li> Level : <strong><u>5</u></strong></li>
			<li> Strength : <strong><u>10</u></strong> </li>
			 <li> Speed : <strong><u>10</u></strong></li>
			 <li> Endurance : <strong><u>10</u></strong></li>
			<li> Wisdom : <strong><u>10</u></strong></li>
			<li>Total Points : <strong><u>40</u></strong></li>
			<li> Un-used Points : <strong><a href=thehood.php?action=upgrade><u>1000</a></u></strong></li>


			 <li> Hit Points :   <u>1</u>  /  <u>7500</u>  </li>



<div id="holder" style="border: 1px solid #333; width: 100px; height: 5px; background: gray; ">
<div id="bar" style="background: #c00; height: 5px; width: 0px;">















			</ul>				
			<h3>Battle Stats </h3>
				<ul> 
				 Trainer Battles
				<li> Trainers Won : 89098 <img src="img/win.gif" /></li>
				<li> Trainers Lost : 1000 <img src="img/lose.gif" /></li>
				<li> Total Trainer Battles : 90098	
				<br />
				</ul>
				<ul>
				 Player Battles

				<li> Battles Won : 9999  <span style="color: red"><strong> 98.59</strong></span> </li>
				<li> Battles Lost : 67  <span style="color: red"><strong> 0.66</strong></span> </li>
				<li> Battles Draw : 76  <span style="color: red"><strong> 0.75</strong></span> </li>
				<li> Total Battles : 143 </li>
				<li> Last Killed : No Result</a></li>
				<li> Killed By : No Result</a></li>
				<li> Last Draw : No Result</a></li>
				</ul>




		</div>
	</div>


	<div class="right_side">
		<div class="pad">
			<h3>Player Information</h3>
				<ul>
				<li>Username : <strong>php elite</strong></li><br />
				<li>Hit Points : 1 / 7500</li>

<div id="holder" style="border: 1px solid #333; width: 150px; height: 5px; background: gray; ">
<div id="bar" style="background: #c00; height: 5px; width: 0px;">



</div>
</div><br />Exp 
<div id="holder" style="border: 1px solid #333; width: 150px; height: 10px; background: gray;">
<div id="bar" style="background: green; height: 10px; width: 84px;"></div>
</div><br /><br />
				</ul>
			<h3>Custom Links</h3>
							<ul><li><a href=thehood >The Brotherhood</a>     ||     <a href=edit><strong>Edit</a></strong> </li><li><a href=empty >No Link Set</a>     ||     <a href=edit><strong>Edit</a></strong> </li><li><a href=empty >No Link Set</a>     ||     <a href=edit><strong>Edit</a></strong> </li><li><a href=empty >No Link Set</a>     ||     <a href=edit><strong>Edit</a></strong> </li></ul>


			<h3>php elite Secret Stash</h3>
			<ul>
			<li>Gold Coins : <strong>1000</strong></li>
			<li>Silver Coins : <strong>1000</strong></li>
			<li>Small Keys : <strong>0</strong></li>
			<li>Medium Keys : <strong>0</strong></li>
			<li>Large Keys : <strong>0</strong></li>
			</ul>
			<h3>Game Link's</h3>
			<ul>
				<li><a href="thehood.php">The Brotherhood</a></li>
				<li><a href="logout.php">Logout</a></li>
			</ul>
			</div>
	</div>


		<div class="mpart">    Welcome back <span style="color: gray;"><strong> php elite </strong></span> You currently have logged in <span style="color :gray;"><strong>60</strong></span> times. Logged Ip address is <span style="color: gray;"><strong>127.0.0.1</strong></span><br /><br />    <a href="?reset=count">Reset Online Count</a> || <a href="?view=log">View Reset Log</a> || <a href="?add_message=yes_please">Add Game Message</a> <br /><br />   Message Date : <font color="#d0eb55">2007-11-30</font>   Posted By : <font color="#d0eb55">Php Elite</font>   Security Level : <font color="#d0eb55">8</font><br />   
			Message Importance : <font color="green"> Medium </font> <br />   Message Reads :    <font color="#d0eb55">This message is a test post. </font><br /><br />   Message Date : <font color="#d0eb55">2007-11-29</font>   Posted By : <font color="#d0eb55">Php N00b</font>   Security Level : <font color="#d0eb55">8</font><br />   
			Message Importance : <font color="red"> High </font> <br />   Message Reads :    <font color="#d0eb55">This is a test post. With high importance.</font> <br /></strong> <br /> <br />    This is a list of the most recent 20 people to reset there online counter. Click <a href="?view=all">here</a> for a list of <u>all</u> records.  <br />    <table width="50%"> <td width="15%"><u>Username</u></td> <td width="10%"><u>Game Id</u></td> <td width="30%"><u>Action</u></td> <td width="15%"><u>Date</u></td><td width="15%"></td></table> <table width="50%"> <td width="15%"> <a href="view.php?">test</a></td> <td width="10%">3</td><td width="30%"> Reset online count to 0  from 37</td><td width="15%">2007-12-09</td><td width="15%"><a href="?deletepost&postid=38">D</a> | Contact</td></table> <table width="50%"> <td width="15%"> <a href="view.php?">php elite</a></td> <td width="10%">2</td><td width="30%"> Reset online count to 0  from 5</td><td width="15%">2007-12-07</td><td width="15%"><a href="?deletepost&postid=37">D</a> | Contact</td></table> <table width="50%"> <td width="15%"> <a href="view.php?">php elite</a></td> <td width="10%">2</td><td width="30%"> Reset online count to 0  from9</td><td width="15%">2007-12-07</td><td width="15%"><a href="?deletepost&postid=36">D</a> | Contact</td></table> <table width="50%"> <td width="15%"> <a href="view.php?">php elite</a></td> <td width="10%">2</td><td width="30%"> Reset online count to 0  from13</td><td width="15%">2007-12-07</td><td width="15%"><a href="?deletepost&postid=35">D</a> | Contact</td></table> <table width="50%"> <td width="15%"> <a href="view.php?">php elite</a></td> <td width="10%">2</td><td width="30%"> Reset online count to 0 </td><td width="15%">2007-12-07</td><td width="15%"><a href="?deletepost&postid=34">D</a> | Contact</td></table> <table width="50%"> <td width="15%"> <a href="view.php?">test</a></td> <td width="10%">3</td><td width="30%"> Reset online count to 0 </td><td width="15%">2007-12-06</td><td width="15%"><a href="?deletepost&postid=33">D</a> | Contact</td></table> <table width="50%"> <td width="15%"> <a href="view.php?">php elite</a></td> <td width="10%">2</td><td width="30%"> Reset online count to 0 </td><td width="15%">2007-12-06</td><td width="15%"><a href="?deletepost&postid=32">D</a> | Contact</td></table> <table width="50%"> <td width="15%"> <a href="view.php?">test</a></td> <td width="10%">3</td><td width="30%"> Reset online count to 0 </td><td width="15%">2007-12-06</td><td width="15%"><a href="?deletepost&postid=31">D</a> | Contact</td></table> <table width="50%"> <td width="15%"> <a href="view.php?">test</a></td> <td width="10%">3</td><td width="30%"> Reset online count to 0 </td><td width="15%">2007-12-06</td><td width="15%"><a href="?deletepost&postid=30">D</a> | Contact</td></table> <table width="50%"> <td width="15%"> <a href="view.php?">test</a></td> <td width="10%">3</td><td width="30%"> Reset online count to 0 </td><td width="15%">2007-12-06</td><td width="15%"><a href="?deletepost&postid=29">D</a> | Contact</td></table> <table width="50%"> <td width="15%"> <a href="view.php?">test</a></td> <td width="10%">3</td><td width="30%"> Reset online count to 0 </td><td width="15%">2007-12-06</td><td width="15%"><a href="?deletepost&postid=28">D</a> | Contact</td></table> <table width="50%"> <td width="15%"> <a href="view.php?">test</a></td> <td width="10%">3</td><td width="30%"> Reset online count to 0 </td><td width="15%">2007-12-06</td><td width="15%"><a href="?deletepost&postid=27">D</a> | Contact</td></table> <table width="50%"> <td width="15%"> <a href="view.php?">test</a></td> <td width="10%">3</td><td width="30%"> Reset online count to 0 </td><td width="15%">2007-12-06</td><td width="15%"><a href="?deletepost&postid=26">D</a> | Contact</td></table> <table width="50%"> <td width="15%"> <a href="view.php?">test</a></td> <td width="10%">3</td><td width="30%"> Reset online count to 0 </td><td width="15%">2007-12-06</td><td width="15%"><a href="?deletepost&postid=25">D</a> | Contact</td></table> <table width="50%"> <td width="15%"> <a href="view.php?">test</a></td> <td width="10%">3</td><td width="30%"> Reset online count to 0 </td><td width="15%">2007-12-06</td><td width="15%"><a href="?deletepost&postid=24">D</a> | Contact</td></table> <table width="50%"> <td width="15%"> <a href="view.php?">test</a></td> <td width="10%">3</td><td width="30%"> Reset online count to 0 </td><td width="15%">2007-12-06</td><td width="15%"><a href="?deletepost&postid=23">D</a> | Contact</td></table> <table width="50%"> <td width="15%"> <a href="view.php?">php elite</a></td> <td width="10%">2</td><td width="30%"> Reset online count to 0 </td><td width="15%">2007-12-06</td><td width="15%"><a href="?deletepost&postid=22">D</a> | Contact</td></table> <table width="50%"> <td width="15%"> <a href="view.php?">php elite</a></td> <td width="10%">2</td><td width="30%"> Reset online count to 0 </td><td width="15%">2007-12-06</td><td width="15%"><a href="?deletepost&postid=21">D</a> | Contact</td></table> <table width="50%"> <td width="15%"> <a href="view.php?">php elite</a></td> <td width="10%">2</td><td width="30%"> Reset online count to 0 </td><td width="15%">2007-12-06</td><td width="15%"><a href="?deletepost&postid=20">D</a> | Contact</td></table> <table width="50%"> <td width="15%"> <a href="view.php?">php elite</a></td> <td width="10%">2</td><td width="30%"> Reset online count to 0 </td><td width="15%">2007-12-06</td><td width="15%"><a href="?deletepost&postid=19">D</a> | Contact</td></table> <br /><br />

<div id="footer">
	<div class="right">© Copyright 2007, Severance Dawn of Destruction - Design: Burnside</div>
		<a href="/rss/" title="RSS Feed">Contact Us</a> - <a href="#">Link</a> - <a href="" title="Validate">Help Files</a>
</div>
</div>
</body>
</html> 

     

 

There you go sorry it took so long your you to get what you wanted :(

Link to comment
Share on other sites

Example URL drawn from your source:

 

<a href="?deletepost&postid=19">D</a>

 

The code I gave you above should be producing this URL instead:

 

"><a href="?delete=1&postid=19">D</a>

 

As you have it in the soruce you just posted, the $_GET variable 'postid' contains the value '19', but the variable 'deletepost' has no value (there is no = plus a value after it). Get your variables sorted.. do you want to use $_GET['delete'] or $_GET['deletepost'], and then make the appropriate changes to the receiving page.

 

PhREEEk

Link to comment
Share on other sites

have changed the code to match what you posted but still displaying nothing.

 


<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>Severance Dawn 0f destruction</title>
<meta http-equiv="Content-Language" content="English" />
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<meta name="author" content="Burnside Severance Dawn of destruction" />
<meta name="description" content="Online free text game" />
<meta name="keywords" content="free,online,text,game,rpg" />	
<meta name="Robots" content="index,follow" />
<meta name="Generator" content="" />
<link rel="stylesheet" type="text/css" href="style.css" media="screen" />
<link rel="alternate" type="application/rss+xml" title="RSS 2.0" href="rss/" />
</head>
<body>



<div id="topbar">
	<div class="content">
		<div id="icons">
				<a href="\#\" title="Home page"><img src="images/home.gif" alt="Home" /></a>
				<a href="\#\" title="Contact us"><img src="images/contact.gif" alt="Contact" /></a>
				<a href="\#\" title="Sitemap"><img src="images/sitemap.gif" alt="Sitemap" /></a>
		</div>
		<div class="url">
			<a href=\"#\" title="">Severance Dawn of Destruction</a>
		</div>
	</div>
</div>

<div id="top">
<div class="content">
		<div id="menu">
			<ul>	
				<li><a href="thehood.php" title="The Brotherhood"><span>The Brotherhood</span></a></li>
				<li><a href="#" title="Articles"><span>woot</span></a></li>
				<li><a href="#" title="Gallery"><span>woot</span></a></li>
				<li><a href="#" title="Affiliates"><span>woot</span></a></li>
				<li><a href="#" title="Articles"><span>woot</span></a></li>
				<li><a href="#" title="Abous us"><span>woot</span></a></li>
				<li><a href="#" title="Contact"><span>woot</span></a></li>
			</ul>
		</div>
		<h1><a href="#" title="">Severanc3</a></h1>
		<h2>Dawn of Destruction</h2>
</div>
</div>


<div class="content">
<div id="main">
	<div class="right_side">
		<div class="pad">
			<h3>Battle Information</h3>
			<ul>
							<li> Level : <strong><u>5</u></strong></li>
			<li> Strength : <strong><u>10</u></strong> </li>
			 <li> Speed : <strong><u>10</u></strong></li>
			 <li> Endurance : <strong><u>10</u></strong></li>
			<li> Wisdom : <strong><u>10</u></strong></li>
			<li>Total Points : <strong><u>40</u></strong></li>
			<li> Un-used Points : <strong><a href=thehood.php?action=upgrade><u>1</a></u></strong></li>


			 <li> Hit Points :   <u>1</u>  /  <u>7500</u>  </li>



<div id="holder" style="border: 1px solid #333; width: 100px; height: 5px; background: gray; ">
<div id="bar" style="background: #c00; height: 5px; width: 0px;">















			</ul>				
			<h3>Battle Stats </h3>
				<ul> 
				 Trainer Battles
				<li> Trainers Won : 89098 <img src="img/win.gif" /></li>
				<li> Trainers Lost : 1000 <img src="img/lose.gif" /></li>
				<li> Total Trainer Battles : 90098	
				<br />
				</ul>
				<ul>
				 Player Battles

				<li> Battles Won : 9999  <span style="color: red"><strong> 98.59</strong></span> </li>
				<li> Battles Lost : 67  <span style="color: red"><strong> 0.66</strong></span> </li>
				<li> Battles Draw : 76  <span style="color: red"><strong> 0.75</strong></span> </li>
				<li> Total Battles : 143 </li>
				<li> Last Killed : No Result</a></li>
				<li> Killed By : No Result</a></li>
				<li> Last Draw : No Result</a></li>
				</ul>




		</div>
	</div>


	<div class="right_side">
		<div class="pad">
			<h3>Player Information</h3>
				<ul>
				<li>Username : <strong>php elite</strong></li><br />
				<li>Hit Points : 1 / 7500</li>

<div id="holder" style="border: 1px solid #333; width: 150px; height: 5px; background: gray; ">
<div id="bar" style="background: #c00; height: 5px; width: 0px;">



</div>
</div><br />Exp 
<div id="holder" style="border: 1px solid #333; width: 150px; height: 10px; background: gray;">
<div id="bar" style="background: green; height: 10px; width: 84px;"></div>
</div><br /><br />
				</ul>
			<h3>Custom Links</h3>
							<ul><li><a href=thehood >The Brotherhood</a>     ||     <a href=edit><strong>Edit</a></strong> </li><li><a href=empty >No Link Set</a>     ||     <a href=edit><strong>Edit</a></strong> </li><li><a href=empty >No Link Set</a>     ||     <a href=edit><strong>Edit</a></strong> </li><li><a href=empty >No Link Set</a>     ||     <a href=edit><strong>Edit</a></strong> </li></ul>


			<h3>php elite Secret Stash</h3>
			<ul>
			<li>Gold Coins : <strong>1000</strong></li>
			<li>Silver Coins : <strong>1000</strong></li>
			<li>Small Keys : <strong>0</strong></li>
			<li>Medium Keys : <strong>0</strong></li>
			<li>Large Keys : <strong>0</strong></li>
			</ul>
			<h3>Game Link's</h3>
			<ul>
				<li><a href="thehood.php">The Brotherhood</a></li>
				<li><a href="logout.php">Logout</a></li>
			</ul>
			</div>
	</div>


		<div class="mpart">    Welcome back <span style="color: gray;"><strong> php elite </strong></span> You currently have logged in <span style="color :gray;"><strong>65</strong></span> times. Logged Ip address is <span style="color: gray;"><strong>127.0.0.1</strong></span><br /><br />    <a href="?reset=count">Reset Online Count</a> || <a href="?view=log">View Reset Log</a> || <a href="?add_message=yes_please">Add Game Message</a> <br /><br />   Message Date : <font color="#d0eb55">2007-11-30</font>   Posted By : <font color="#d0eb55">Php Elite</font>   Security Level : <font color="#d0eb55">8</font><br />   
			Message Importance : <font color="green"> Medium </font> <br />   Message Reads :    <font color="#d0eb55">This message is a test post. </font><br /><br />   Message Date : <font color="#d0eb55">2007-11-29</font>   Posted By : <font color="#d0eb55">Php N00b</font>   Security Level : <font color="#d0eb55">8</font><br />   
			Message Importance : <font color="red"> High </font> <br />   Message Reads :    <font color="#d0eb55">This is a test post. With high importance.</font> <br /></strong> <br /> <br />    This is a list of the most recent 20 people to reset there online counter. Click <a href="?view=all">here</a> for a list of <u>all</u> records.  <br />    <table width="50%"> <td width="15%"><u>Username</u></td> <td width="10%"><u>Game Id</u></td> <td width="30%"><u>Action</u></td> <td width="15%"><u>Date</u></td><td width="15%"></td></table> <table width="50%"> <td width="15%"> <a href="view.php?">test</a></td> <td width="10%">3</td><td width="30%"> Reset online count to 0  from 37</td><td width="15%">2007-12-09</td><td width="15%"><a href="?delete=1&post_id=38">Delete</a> | Contact</td></table> <table width="50%"> <td width="15%"> <a href="view.php?">php elite</a></td> <td width="10%">2</td><td width="30%"> Reset online count to 0  from 5</td><td width="15%">2007-12-07</td><td width="15%"><a href="?delete=1&post_id=37">Delete</a> | Contact</td></table> <table width="50%"> <td width="15%"> <a href="view.php?">php elite</a></td> <td width="10%">2</td><td width="30%"> Reset online count to 0  from9</td><td width="15%">2007-12-07</td><td width="15%"><a href="?delete=1&post_id=36">Delete</a> | Contact</td></table> <table width="50%"> <td width="15%"> <a href="view.php?">php elite</a></td> <td width="10%">2</td><td width="30%"> Reset online count to 0  from13</td><td width="15%">2007-12-07</td><td width="15%"><a href="?delete=1&post_id=35">Delete</a> | Contact</td></table> <table width="50%"> <td width="15%"> <a href="view.php?">php elite</a></td> <td width="10%">2</td><td width="30%"> Reset online count to 0 </td><td width="15%">2007-12-07</td><td width="15%"><a href="?delete=1&post_id=34">Delete</a> | Contact</td></table> <table width="50%"> <td width="15%"> <a href="view.php?">test</a></td> <td width="10%">3</td><td width="30%"> Reset online count to 0 </td><td width="15%">2007-12-06</td><td width="15%"><a href="?delete=1&post_id=33">Delete</a> | Contact</td></table> <table width="50%"> <td width="15%"> <a href="view.php?">php elite</a></td> <td width="10%">2</td><td width="30%"> Reset online count to 0 </td><td width="15%">2007-12-06</td><td width="15%"><a href="?delete=1&post_id=32">Delete</a> | Contact</td></table> <table width="50%"> <td width="15%"> <a href="view.php?">test</a></td> <td width="10%">3</td><td width="30%"> Reset online count to 0 </td><td width="15%">2007-12-06</td><td width="15%"><a href="?delete=1&post_id=31">Delete</a> | Contact</td></table> <table width="50%"> <td width="15%"> <a href="view.php?">test</a></td> <td width="10%">3</td><td width="30%"> Reset online count to 0 </td><td width="15%">2007-12-06</td><td width="15%"><a href="?delete=1&post_id=30">Delete</a> | Contact</td></table> <table width="50%"> <td width="15%"> <a href="view.php?">test</a></td> <td width="10%">3</td><td width="30%"> Reset online count to 0 </td><td width="15%">2007-12-06</td><td width="15%"><a href="?delete=1&post_id=29">Delete</a> | Contact</td></table> <table width="50%"> <td width="15%"> <a href="view.php?">test</a></td> <td width="10%">3</td><td width="30%"> Reset online count to 0 </td><td width="15%">2007-12-06</td><td width="15%"><a href="?delete=1&post_id=28">Delete</a> | Contact</td></table> <table width="50%"> <td width="15%"> <a href="view.php?">test</a></td> <td width="10%">3</td><td width="30%"> Reset online count to 0 </td><td width="15%">2007-12-06</td><td width="15%"><a href="?delete=1&post_id=27">Delete</a> | Contact</td></table> <table width="50%"> <td width="15%"> <a href="view.php?">test</a></td> <td width="10%">3</td><td width="30%"> Reset online count to 0 </td><td width="15%">2007-12-06</td><td width="15%"><a href="?delete=1&post_id=26">Delete</a> | Contact</td></table> <table width="50%"> <td width="15%"> <a href="view.php?">test</a></td> <td width="10%">3</td><td width="30%"> Reset online count to 0 </td><td width="15%">2007-12-06</td><td width="15%"><a href="?delete=1&post_id=25">Delete</a> | Contact</td></table> <table width="50%"> <td width="15%"> <a href="view.php?">test</a></td> <td width="10%">3</td><td width="30%"> Reset online count to 0 </td><td width="15%">2007-12-06</td><td width="15%"><a href="?delete=1&post_id=24">Delete</a> | Contact</td></table> <table width="50%"> <td width="15%"> <a href="view.php?">test</a></td> <td width="10%">3</td><td width="30%"> Reset online count to 0 </td><td width="15%">2007-12-06</td><td width="15%"><a href="?delete=1&post_id=23">Delete</a> | Contact</td></table> <table width="50%"> <td width="15%"> <a href="view.php?">php elite</a></td> <td width="10%">2</td><td width="30%"> Reset online count to 0 </td><td width="15%">2007-12-06</td><td width="15%"><a href="?delete=1&post_id=22">Delete</a> | Contact</td></table> <table width="50%"> <td width="15%"> <a href="view.php?">php elite</a></td> <td width="10%">2</td><td width="30%"> Reset online count to 0 </td><td width="15%">2007-12-06</td><td width="15%"><a href="?delete=1&post_id=21">Delete</a> | Contact</td></table> <table width="50%"> <td width="15%"> <a href="view.php?">php elite</a></td> <td width="10%">2</td><td width="30%"> Reset online count to 0 </td><td width="15%">2007-12-06</td><td width="15%"><a href="?delete=1&post_id=20">Delete</a> | Contact</td></table> <table width="50%"> <td width="15%"> <a href="view.php?">php elite</a></td> <td width="10%">2</td><td width="30%"> Reset online count to 0 </td><td width="15%">2007-12-06</td><td width="15%"><a href="?delete=1&post_id=19">Delete</a> | Contact</td></table> <br /><br />

<div id="footer">
	<div class="right">© Copyright 2007, Severance Dawn of Destruction - Design: Burnside</div>
		<a href="/rss/" title="RSS Feed">Contact Us</a> - <a href="#">Link</a> - <a href="" title="Validate">Help Files</a>
</div>
</div>
</body>
</html> 

     

 

 

Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.