<?
$this->load->view('cpanel/header');
?>

		<script src="<?=base_url()?>js/jquery.validationEngine-en.js" type="text/javascript"></script>
		<script src="<?=base_url()?>js/jquery.validationEngine.js" type="text/javascript"></script>



		<script>
		$(document).ready(function() {


			$("#formID").validationEngine()


			//$.validationEngine.loadValidation("#date")
			//alert($("#formID").validationEngine({returnIsValid:true}))
			//$.validationEngine.buildPrompt("#date","This is an example","error")	 		 // Exterior prompt build example
			//$.validationEngine.closePrompt(".formError",true) 							// CLOSE ALL OPEN PROMPTS
		});

	</script>
<div align="center">
<form id="formID"  method="post" enctype="multipart/form-data" action="<?=site_url('admin/cpanel/profileDBsetting')?>">
<input type='hidden' name='logoFile' id='logoFile' value='<?= $logo_images; ?>' >
<table width="80%" border="0" align="center" cellpadding="0" cellspacing="0">
  <tr>
    <td colspan="2" valign="top" style="padding-top:20px;">
    <?=$titleErrorMessage?>
  	</td>
  </tr>
  <tr>
    <td colspan="2" valign="top" style="padding-top:0px;">
  	      <img src="<?=base_url()?>images/s.gif" width="600" height="1" border="0" alt="" />
	      <div id="module_info">&nbsp;&raquo;&nbsp; Database Backup Information</div>
  	</td>
  </tr>

  <tr>
    <td width="40%" align="center" valign="top" style="padding-top:10px;padding-right:5px;padding-left:0px;">

	<table width="100%" border="0" cellspacing="0" cellpadding="0" class="tableBorderFrom">
		<tr>
			<td colspan="2" class="mainTableTitle">&nbsp;&raquo;&nbsp;Backup Time</td>
		</tr>
		<tr>
			<td class='formLabelRigit' width='35%' style='padding-top:10px;'> Period :  </td>
			<td class='formLabelLeft' width='65%' style='padding-top:10px;'>
			<select name="task_type" id="task_type" class="selectFrom" style='width:150px;'>
		    <option value="1">Daily</option>
			</select>
			<span style="padding:5px;font-size:11px;color:#FF0000">	*	</span>
			</td>
		</tr>

		<tr>
			<td class='formLabelRigit'>  Time :  </td>
			<td class='formLabelLeft'><input type='text' class='formInput' name='task_time' id='task_time' maxlength="200" style='width:200px;' value='<?= $task_time; ?>' />
			<span style="padding:5px;font-size:11px;color:#FF0000">	* 24 Hours format	</span>
			</td>
		</tr>



		<tr>
		    <td>&nbsp;</td>
		    <td>&nbsp;</td>
  		</tr>
	</table>

	</td>

    <td width="40%" align="center" valign="top" style="padding-top:10px;padding-right:5px;padding-left:0px;">

    	<table width="100%" border="0" cellspacing="0" cellpadding="0" class="tableBorderFrom">
			<tr>
				<td colspan="2" class="mainTableTitle">&nbsp;&raquo;&nbsp;Database Backup Information</td>
			</tr>
			<tr>
				<td class='formLabelRigit' width='35%' style='padding-top:10px;'>Backup Prefix :  </td>
				<td class='formLabelLeft' width='65%' style='padding-top:10px;'><input type='text' class='formInput' name='name_prefix' id='name_prefix' maxlength="200" style='width:200px;' value='<?= $name_prefix; ?>' />
				<span style="padding:5px;font-size:11px;color:#FF0000">	*	</span>
				</td>
			</tr>


			<tr>
			<td class='formLabelRigit'> With Calls? :  </td>
			<td class='formLabelLeft'>

			<?
			if($calls ==1)
			$checkDisable = "checked='checked'";
			else
			$checkDisable = "";
			?>
			<input name="calls"  type="checkbox" id="calls" value="1" <?=$checkDisable?> />

			</td>
			</tr>


			<tr>
			    <td>&nbsp;</td>
			    <td>&nbsp;</td>
	  		</tr>
	</table>
	</td>
   </tr>

  <tr>
    <td colspan="2" align="center" style="padding:15px;">
     <input type="submit" class="btn btn-success" name="submit" value="Save Setting" />
  </tr>

</table>
</form>
</div>

<?
$this->load->view('cpanel/footer');
?>
