Jump to content

PHP HTML


Archadian

Recommended Posts

<?php

session_start();

define('WEB', true); 

echo "<head>";
echo "<title>The Cabal Online Guide</title>";

echo "<link rel=\"stylesheet\" type=\"text/css\" href=\"include/cabal.css\">";

echo "</head>";

include('include/class.php');

$db =& new Mysql();
$db->cabal();

if (isset($_POST['submit']) && isset($_POST['username']) && isset($_POST['password'])) {

login();

}

if ($_GET['action'] == 'logout') {

logout();

}

include('include/func.php');

echo "<table width=\"100%\" cellspacing=\"0\" cellpadding=\"0\" border=\"0\" background=\"#000000\">";

echo "<div width = \"100%\">";

echo "<tr>";
	echo "<td width=\"29\" height=\"62\" cellspacing=\"0\" cellpadding=\"0\" border=\"0\" background=\"" . $mtbl['topleft'] . "\"></td>";
	echo "<td width=\"940\" height=\"62\" cellspacing=\"0\" cellpadding=\"0\" border=\"0\" background=\"" . $mtbl['topmid'] . "\"></td>";
	echo "<td width=\"29\" height=\"62\" cellspacing=\"0\" cellpadding=\"0\" border=\"0\" background=\"" . $mtbl['topright'] . "\"></td>";
echo "</tr>";

echo "</div>";
echo "<div width = \"100%\">";

echo "<tr>";

	echo "<td width=\"27\" height=\"500\" cellspacing=\"0\" cellpadding=\"0\" border=\"0\" background=\"" . $mtbl['left'] . "\"></td>";
	echo "<td width=\"940\" height=\"500\" cellspacing=\"0\" cellpadding=\"0\" border=\"0\">";


		//echo "<div>{CONTENT}</div>";

	echo "</td>";
	echo "<td width=\"27\" height=\"500\" cellspacing=\"0\" cellpadding=\"0\" border=\"0\" background=\"" . $mtbl['right'] . "\"></td>";

	echo "</tr>";

echo "</div>";
echo "<div width = \"100%\">";

echo "<tr>";

	echo "<td width=\"27\" height=\"24\" cellspacing=\"0\" cellpadding=\"0\" border=\"0\" background=\"" . $mtbl['botleft'] . "\"></td>";
	echo "<td width=\"960\" height=\"24\" cellspacing=\"0\" cellpadding=\"0\" border=\"0\" background=\"" .  $mtbl['botmid'] . "\"></td>";
	echo "<td width=\"27\" height=\"24\" cellspacing=\"0\" cellpadding=\"0\" border=\"0\" background=\"" .  $mtbl['botright'] . "\"></td>";

echo "</tr>";

echo "</div>";

echo "</table>";

?>

Link to comment
https://forums.phpfreaks.com/topic/127490-php-html/#findComment-659657
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • 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.