system: Linux mars.sprixweb.com 3.10.0-1160.119.1.el7.x86_64 #1 SMP Tue Jun 4 14:43:51 UTC 2024 x86_64
cmd: 

Direktori : /home/pfhr/public_html/admin/cache/
Upload File :
Current File : /home/pfhr/public_html/admin/cache/%%32^32D^32DEF8D8%%categories_edit.html.php

<?php /* Smarty version 2.6.19, created on 2019-01-30 11:30:59
         compiled from categories_edit.html */ ?>
<?php if ($this->_tpl_vars['message'] != ""): ?>
<div id="dialog" title="Success">
<p><?php echo $this->_tpl_vars['message']; ?>
</p>
</div>
<?php endif; ?>

<?php if ($this->_tpl_vars['error_message'] != ""): ?>
<div id="dialog" title="Error in Validation">
<?php echo $this->_tpl_vars['error_message']; ?>

</div>
<?php endif; ?>
		
<?php if (count ( $this->_tpl_vars['errmsg'] ) > 0): ?>  
<div id="dialog" title="Error in Validation">
<p>
<?php $_from = $this->_tpl_vars['errmsg']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }$this->_foreach['err'] = array('total' => count($_from), 'iteration' => 0);
if ($this->_foreach['err']['total'] > 0):
    foreach ($_from as $this->_tpl_vars['err']):
        $this->_foreach['err']['iteration']++;
?>
<?php echo $this->_tpl_vars['err']; ?>
<br>
<?php endforeach; endif; unset($_from); ?>
</p>
</div>
<?php endif; ?>

<div class="grid_9">
            <div class="box round first">
                <h2>Add New Gallery Category</h2>	
					<div class="block ">
                    <form name="adduser" class="form-horizontal" role="form" enctype="multipart/form-data" action="?do=categories&action=update&id=<?php echo $this->_tpl_vars['testid']; ?>
" method="post">
                    <table class="form">
                        <tr>
                            <td class="col1">
                                <label>Menu List </label>
                            </td>
                            <td class="col02">
							<select class="form-control" name="txtcat" >
														<option value="Annual Meeting" <?php if ($this->_tpl_vars['txtcat'] == 'Annual Meeting'): ?>selected<?php endif; ?> >Annual Meeting</option>
														<option value="Meeting" <?php if ($this->_tpl_vars['txtcat'] == 'Meeting'): ?>selected<?php endif; ?> >Meeting</option>
														<option value="Stitching Department" <?php if ($this->_tpl_vars['txtcat'] == 'Stitching Department'): ?>selected<?php endif; ?>>Stitching Department</option>
														<option value="Video Gallery" <?php if ($this->_tpl_vars['txtcat'] == 'Video Gallery'): ?>selected<?php endif; ?>>Video Gallery</option>
													 </select>
							</td>
                        </tr>
						<tr>
                            <td class="col1">
                                <label>Category Name </label>
                            </td>
                            <td class="col02">
                               <input type="text" name="txtname" class="form-control" placeholder="Category Name" value="<?php echo $this->_tpl_vars['txtname']; ?>
" >
                            </td>
                        </tr>
						<tr>
                            <td class="col1">
                                <label>Year/Date </label>
                            </td>
                            <td class="col02">
                                <input type="text" name="txtdate" class="form-control" placeholder="DD-MM-YYYY" value="<?php echo $this->_tpl_vars['txtdate']; ?>
" >
                            </td>
                        </tr>
						<tr>
                            <td class="col1">
                                <label>Status </label>
                            </td>
                            <td class="col02">
                                <input name="txtstatus" type="radio"  id="textfield" value="Enable" <?php if ($this->_tpl_vars['txtstatus'] == 'Enable'): ?>checked<?php endif; ?>>Enable
														<input name="txtstatus" type="radio"  id="textfield" value="Disable"  <?php if ($this->_tpl_vars['txtstatus'] == 'Disable'): ?>checked<?php endif; ?>>Disable
													 </td>
                        </tr>
						<tr>
                            <td class="" colspan="5">
                                <center>
								<button type="submit" class="btn btn-success">Save/Update</button>
								<button type="button" class="btn btn-primary" onclick="location.href='?do=categories'">Cancel</button>
								</center>
                            </td>
                        </tr>
                    </table>
                    </form>
               </div>   
            </div>
        </div>
        <div class="clear">
        </div>