File: /home/httpd/html/seekya.com/DEAD/beta/manage/itemPopup.php
<?php session_start();
include("../includes/connect.php"); ?>
<?php include("../includes/func.php");
include("itemPopup_inc.php"); ?>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<title>Administrative Panel : Video</title>
<link href="includes/style.css" rel="stylesheet" type="text/css">
<script language="javascript" type="text/javascript">
function validate(frm) {
if (frm.item_title.value == "") {
alert("Please enter item title.");
frm.item_title.focus();
return (false);
}
return (true);
}
</script>
</head>
<body>
<form name="frmCatPopup" method="post" onSubmit="return validate(this);">
<input type="hidden" name="item_id" value="<?php echo $_GET["video_id"]; ?>">
<table width="400" border="0" cellpadding="0" cellspacing="1" class="bgDarkGray">
<tr>
<td class="bgGray"> </td>
</tr>
<tr>
<td class="bgWhite"><table width="100%" border="0">
<tr align="center">
<td colspan="2" class="note"> <?php echo($errMsg); ?></td>
</tr>
<tr>
<td width="38%" class="LabelBold">Video Title : </td>
<td width="62%"><input type="text" size=60 name="video_title" value="<?php echo($rs["video_title"]); ?>"></td>
</tr>
<tr>
<td width="38%" class="LabelBold">Video Description : </td>
<td width="62%"><textarea name="video_description" rows=7 cols=45 ><?php echo($rs["video_description"]); ?></textarea></td>
</tr>
<tr>
<td class="LabelBold">Video Category : </td>
<td class=Label>
<?php echo($strcatp); ?>
</td>
</tr>
<tr>
<td> </td>
<td><input type="checkbox" name="video_status" value="1" <?php cbfx($rs["video_status"]); ?>>
<span class="LabelBold">Approved</span></td>
</tr>
<tr>
<td> </td>
<td><input type="checkbox" name="video_homepage" value="1" <?php cbfx($rs["video_homepage"]); ?>>
<span class="LabelBold">Display HomePage</span></td>
</tr>
<tr>
<td width="38%" class="LabelBold">Video Warning : </td>
<td width="62%"><input type="text" size=60 name="video_warning" value="<?php echo($rs["video_warning"]); ?>"></td>
</tr>
<tr>
<td width="38%" class="LabelBold">Video Date : </td>
<td width="62%"><input type="text" size=20 name="video_date" value="<?php echo($rs["video_date"]); ?>"></td>
</tr>
<tr>
<td width="38%" class="LabelBold">Video File : </td>
<td width="62%"><input type="text" size=50 name="video_file" value="<?php echo($rs["video_file"]); ?>"><br>
<font size=1>
<small>(Just enter full video URL like http://www.website.com/video.wmv to run video from other site)</small></font></td>
</tr>
<tr>
<td width="38%" class="LabelBold">Video Image : </td>
<td width="62%"><input type="text" size=30 name="video_image" value="<?php echo($rs["video_image"]); ?>"><font size=1>
<small>(Just enter full image URL like http://www.website.com/image.jpg to run Image from other site)</small></font></td>
</tr>
<tr>
<td width="38%" class="LabelBold">Video Size(KB) : </td>
<td width="62%"><input type="text" size=30 name="video_size" value="<?php echo($rs["video_size"]); ?>"></td>
</tr>
<tr>
<td colspan="2"> </td>
</tr>
</table></td>
</tr>
<tr>
<td align="right" class="bgGray"><input name="btnSave" type="submit" id="btnSave" value="Save">
</td>
</tr>
</table>
</form>
</body>
</html>