HEX
Server: Apache
System: Linux msm5694.mjhst.com 3.10.0-1160.119.1.el7.x86_64 #1 SMP Tue Jun 4 14:43:51 UTC 2024 x86_64
User: camjab_ssh (1000)
PHP: 5.3.29
Disabled: NONE
Upload Files
File: /home/httpd/html/seekya.com/DEAD/manage/articlePopup.php
<?php include("../includes/connection.php"); ?>
<?php include("../includes/func.php");
include("articlePopup_inc.php"); ?>
<html>
<head>
<script language="javascript" type="text/javascript" src="../includes/lib.js"></script>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<title>Administrative Panel : Article</title>
<link href="includes/style.css" rel="stylesheet" type="text/css">
<script language="javascript" type="text/javascript">
	function validate(frm) {
		if (frm.article_title.value == "") {
			alert("Please enter Article title.");
			frm.article_title.focus();
			return (false);
		}
		
		return (true);
	}
</script>
</head>

<body>
<form name="frmCatPopup" method="post" onSubmit="return validate(this);">
<input type="hidden" name="article_id" value="<?php echo $_GET["article_id"]; ?>">
<table width="400" border="0" cellpadding="0" cellspacing="1" class="bgDarkGray">
    <tr>
        <td class="bgGray">&nbsp;</td>
    </tr>
    <tr>
        <td class="bgWhite"><table width="100%"  border="0">
            <tr align="center">
                <td colspan="2" class="note">&nbsp;<?php echo($errMsg); ?></td>
            </tr>
          
            <tr>
                <td width="38%" class="LabelBold">Article Title : </td>
                <td width="62%"><input type="text" size=60  name="article_title" value="<?php echo($rs["article_title"]); ?>"></td>
            </tr>
			<tr>
                <td width="38%" class="LabelBold">Article Description : <br>
				<a href="javascript:" onClick="openWin('edit.php?article_id=<?php echo($rs["article_id"]); ?>', 'width=650, height=630');"><small><font color=blue>HTML Editor</a></td>
                <td width="62%"><textarea name="article_description" rows=8 cols=40 ><?php echo($rs["article_description"]); ?></textarea></td>
            </tr>
			<tr>
                <td width="38%" class="LabelBold">Article Teaser  : </td>
                <td width="62%"><textarea name="article_teaser" rows=6 cols=40 ><?php echo($rs["article_teaser"]); ?></textarea></td>
            </tr>
			<tr>
                <td class="LabelBold">Article Sub Category : </td>
                <td class=Label>
				<?php echo($strcatp); ?>
               </td>
            </tr> 

            <tr>
                <td>&nbsp;</td>
                <td><input type="checkbox" name="active" value="1" <?php cbfx($rs["active"]); ?>>
                    <span class="LabelBold">Approved</span></td>
            </tr>
			<tr>
                <td>&nbsp;</td>
                <td><input type="checkbox" name="display_home_page" value="1" <?php cbfx($rs["display_home_page"]); ?>>
                    <span class="LabelBold">Home Page</span></td>
            </tr>
			<tr>
                <td width="38%" class="LabelBold">Source Links : </td>
                <td width="62%" class=Label><textarea name="associated_links" rows=3 cols=40><?php echo($rs["associated_links"]); ?></textarea><br>
				<input type=checkbox name=parse value=1><small>Make Links(HREF)</small></td>
            </tr>
			
            <tr>
                <td colspan="2">&nbsp;</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>