( ′∀`)σ≡σ☆))Д′)レ(゚∀゚;)ヘ=З=З=Зε≡(ノ´_ゝ`)ノ
<?php
$result = $db->getslidebyid($catid);
$slidename = $result[0]["slidename"];
$description = $result[0]["description"];
$parentid = $result[0]["parentid"];
?>
<style type="text/css">
<!--
.style4 {font-size: 11px}
.style6 {font-size: 12px}
.style7 {font-size: 10px}
-->
</style>
<table width="100%" border="0" cellspacing="0" cellpadding="5" class="main">
<tr>
<td width="612" valign="top">
<span id="buttoned"><strong>Edit Gallery </strong> </span><br />
<br />
<br />
<div style="padding:10px;">
<div class="wa">
<div class="wb">
<div class="wc">
<div class="wd">
<form action="?mode=slidecat" method="POST">
<input type="hidden" name="catid" value="<?php print "$catid"; ?>">
<table width="600" height="300" border="0" cellpadding="4" cellspacing="1" class="style6">
<tr>
<td width="89"><?php print "$admin_name"; ?> :</td>
<td width="684"><input name="slidename" type="text" class="bigsearch required" value="<?php print "$slidename"; ?>" size="65"></td>
</tr>
<tr>
<td><?php print "$admin_description"; ?> :</td>
<td><textarea name="description" cols="65" rows="5" class="bigsearch required"><?php print "$description"; ?></textarea></td>
</tr>
<tr >
<td>Attach gallery to:</td>
<td>
<input name="parentid" type="hidden" value="<?php echo $_SESSION['user_id']; ?>"><select name="slideid">
<?php
$nameinfo = $db->getallstories();
if (!empty($nameinfo)){
while (list($key,$val)=each($nameinfo)) {
$newsid = stripslashes($val["newsid"]);
$title = stripslashes($val["title"]);
print "<option value=\"$newsid\">$title</option>";
}
}
?>
</select> </td>
</tr>
</table>
<p>
<input type="submit" id="buttoned4" style="width:200px; padding:18px; margin:0px; border:0px" name="editslide" value="<?php print "$admin_ok"; ?>">
</p>
</form>
</div>
</div>
</div></div></div>
<p align="right"> </p></td>
</tr>
</table>