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
<AOA:output>if $message!="" </AOA:output>
<div id="dialog" title="Success">
<p><AOA:output>$message</AOA:output></p>
</div>
<AOA:output>/if</AOA:output>
<AOA:output>if $error_message ne "" </AOA:output>
<div id="dialog" title="Error in Validation">
<AOA:output>$error_message</AOA:output>
</div>
<AOA:output>/if</AOA:output>
<AOA:output>if count($errmsg) gt 0</AOA:output>
<div id="dialog" title="Error in Validation">
<p>
<AOA:output>foreach name=err item=err from=$errmsg</AOA:output>
<AOA:output>$err</AOA:output><br>
<AOA:output>/foreach</AOA:output>
</p>
</div>
<AOA:output>/if</AOA:output>
<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=<AOA:output>$testid</AOA:output>" 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" <AOA:output>if $txtcat eq 'Annual Meeting'</AOA:output>selected<AOA:output>/if</AOA:output> >Annual Meeting</option>
<option value="Meeting" <AOA:output>if $txtcat eq 'Meeting'</AOA:output>selected<AOA:output>/if</AOA:output> >Meeting</option>
<option value="Stitching Department" <AOA:output>if $txtcat eq 'Stitching Department'</AOA:output>selected<AOA:output>/if</AOA:output>>Stitching Department</option>
<option value="Video Gallery" <AOA:output>if $txtcat eq 'Video Gallery'</AOA:output>selected<AOA:output>/if</AOA:output>>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="<AOA:output>$txtname</AOA:output>" >
</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="<AOA:output>$txtdate</AOA:output>" >
</td>
</tr>
<tr>
<td class="col1">
<label>Status </label>
</td>
<td class="col02">
<input name="txtstatus" type="radio" id="textfield" value="Enable" <AOA:output>if $txtstatus eq 'Enable'</AOA:output>checked<AOA:output>/if</AOA:output>>Enable
<input name="txtstatus" type="radio" id="textfield" value="Disable" <AOA:output>if $txtstatus eq 'Disable'</AOA:output>checked<AOA:output>/if</AOA:output>>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>