All pastes #257430 Raw Edit

Someone

public php v1 · immutable
#257430 ·published 2006-11-25 09:07 UTC
rendered paste body
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/1999/REC-html401-19991224/loose.dtd"><html><head><title>Sublife PRE Database</title><link rel="stylesheet" type="text/css" href="styles.css"><meta http-equiv="Content-Type" content="text/html;charset=utf-8"></head><body><?php//@mysql_pconnect("db host", "username", "password") or die("Could not connect to MySQL server!");//@mysql_select_db("channel");//$query = "SELECT event,title,type,rlsgroup,reason,time FROM releases ORDER BY time DESC";//$result = mysql_query($query);$title = "this is the title";$event = "This is the event";$type = "This is the type";$rlsgroup = "This is teh group";$reason = "longreason is looooooooooooooooooooooooooooooooooong";$time = "this is the time";        echo "*********************************************************************************************<br />\n";        echo "Sublife's Pre Database<br/>\n";             echo "None of the files listed are hosted on this server<br />\n";        echo "*********************************************************************************************<br />\n";		echo "<div>\n";	echo "<a href='#'>All</a>&nbsp;<a href='#'>MP3</a>&nbsp;<a href='#'>TV</a><br />\n";	echo "</div>";//while (list($event, $title, $type, $rlsgroup, $reason, $time) = mysql_fetch_row($result))//{	//if ($event == 'PRE') {		echo "<br />\n";		echo "*********************************************************************************************<br />\n";		echo "<table align='center' cellpadding='2'>				<tr><td>Title:</td><td>$title</td></tr>				<tr><td>Event:</td><td>$event</td></tr>				<tr><td>Type:</td><td>$type</td></tr>				<tr><td>Group:</td><td>$rlsgroup</td></tr>				<tr><td>Time:</td><td>$time</td></tr></table>\n";		echo "*********************************************************************************************<br />\n";	//} else {                echo "<br />\n";		echo "*********************************************************************************************<br />\n";		echo "<table align='center' cellpadding='2'>			<tr><td>Title:</td><td>$title</td></tr>			<tr><td>Event:</td><td>$event</td></tr>			<tr><td>Group:</td><td>$rlsgroup</td></tr>			<tr><td>Reason:</td><td>$reason</td></tr>			<tr><td>Time:</td><td>$time</td></tr></table>\n";                echo "*********************************************************************************************<br />\n";	//}//}?></body></html>