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/templates/
Upload File :
Current File : /home/pfhr/public_html/admin/templates/news_edit.html

<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 Press News</h2>	

					<div class="block ">

                    <form name="adduser" class="form-horizontal" role="form" enctype="multipart/form-data" action="?do=news&action=update&id=<AOA:output>$testid</AOA:output>" method="post">

					<input type="hidden" name="testid" value="<AOA:output>$testid</AOA:output>">

					<table class="form">

                   <tr>

                            <td class="col1">

                                <label>News Year </label>

                            </td>

                            <td class="col02">

                                <select  name="txtyear" class="form-control" >

<option value="2010" <AOA:output>if $txtyear eq '2010' </AOA:output> selected <AOA:output>/if</AOA:output> >2010</option>

<option value="2011" <AOA:output>if $txtyear eq '2011' </AOA:output> selected <AOA:output>/if</AOA:output> >2011</option>

<option value="2012" <AOA:output>if $txtyear eq '2012' </AOA:output> selected <AOA:output>/if</AOA:output> >2012</option>

<option value="2013" <AOA:output>if $txtyear eq '2013' </AOA:output> selected <AOA:output>/if</AOA:output> >2013</option>

<option value="2014" <AOA:output>if $txtyear eq '2014' </AOA:output> selected <AOA:output>/if</AOA:output> >2014</option>

<option value="2015" <AOA:output>if $txtyear eq '2015' </AOA:output> selected <AOA:output>/if</AOA:output> >2015</option>

<option value="2016" <AOA:output>if $txtyear eq '2016' </AOA:output> selected <AOA:output>/if</AOA:output> >2016</option>

</select>



							</td>

                        </tr>



 <tr>

                            <td class="col1">

                                <label>News Title </label>

                            </td>

                            <td class="col02">

                                <input type="text" name="txtname" class="form-control" placeholder="Enter Title Name" value="<AOA:output>$txtname</AOA:output>" > 

							</td>

                        </tr>

						<tr>

                            <td class="col1">

                                <label>Description </label>

                            </td>

                            <td class="col02">

                              <textarea name="txtdescription" class="form-control" cols="33" rows="5"><AOA:output>$txtdescription</AOA:output></textarea>

                            </td>

                        </tr>



 <tr>

                            <td class="col1">

                                <label>News 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 type="radio" name="txtstatus"  value="active"  <AOA:output>if $txtstatus eq 'active'</AOA:output>checked<AOA:output>/if</AOA:output> /> Active &nbsp;&nbsp;&nbsp;

								<input type="radio" name="txtstatus"  value="suspend" <AOA:output>if $txtstatus eq 'suspend'</AOA:output>checked <AOA:output>/if</AOA:output> />  Suspend

							</td>

                        </tr>

						<tr>

                            <td class="col1">

                                <label>Image </label>

                            </td>

                            <td class="col02">

                                <input type="file" name="image" id="fileField"/></br>

								<img src="../<AOA:output>$image</AOA:output>"" width="113" height="110" alt="" />

                            </td>

                        </tr>

						<tr>

                            <td class="" colspan="5">

                                <center><button type="submit" name="update" class="btn btn-success">Save/Update</button>

								<button type="submit" name="del" class="btn btn-sm btn-danger">Delete</button>

								<button type="button" class="btn btn-sm btn-primary">Cancel</button></center>

                            </td>

                        </tr>

                    </table>

                    </form>

               </div>   

            </div>

</div>

   <div class="clear"></div>