( ′∀`)σ≡σ☆))Д′)レ(゚∀゚;)ヘ=З=З=Зε≡(ノ´_ゝ`)ノ
<?php
require("./NewsSql.inc.php");
$db = new NewsSQL($DBName);
$result = $db->getepisodebyid($catid);
$catalogname = $result[0]["catalogname"];
$description = $result[0]["description"];
?>
<html>
<head>
<title><?php print "$admin_catalogadmin"; ?></title>
<meta http-equiv="Content-Type" content="text/html; charset=<?php print "$admin_charset"; ?>">
<link href="styles.css" rel="stylesheet" type="text/css">
</head>
<body><?php
include 'header.php';
?>
<form action="catereporta.php" method="POST">
<input type="hidden" name="catid" value="<?php print "$catid"; ?>">
<table width="1000" border="0" cellspacing="0" cellpadding="0">
<tr>
<td>
<table width="1000" height="300" border="0" cellpadding="4" cellspacing="0">
<tr> <td align="center"><?php
include 'navigation.php';
?></td>
<td align="center" valign="top">
<table width="700" border="0" cellspacing="1" cellpadding="4" bgcolor="#F2F2F2">
<tr >
<td width="149">Category/ Episode Name :</td>
<td width="632"><input type="text" name="catalogname" value="<?php print "$catalogname"; ?>"></td>
</tr>
<tr >
<td>Description : </td>
<td><textarea name="description" cols="40" rows="5"><?php print "$description"; ?></textarea></td>
</tr>
</table>
<p>
<input type="submit" name="editepisode" class="large ezbutton green" style=" margin-top:2px;border:0px;width:200px; margin-right:5px" value="Edit Category">
</p> </td>
</tr>
</table>
</td>
</tr>
<tr>
<td align="center" valign="top" height="40"> </td>
</tr>
</table>
</form>
</body>
</html>