
<div class="row">
  <div class="container">
  
  
   <ol class="breadcrumb">
          <li><a href="#">خصائص عامة</a></li>
          <li><a href="backupController.php">نسخة احتياطة</a></li>
          <li class="active">اضافة نسخة</li>
    </ol>
        
        
        
    <div class="panel panel-default"> 
      <!-- Default panel contents -->
      <div class="panel-heading">
        <h3 class="panel-title">إضافة نسخة</h3>
      </div>
      <div class="panel-body">
     
      {literal}
        <form class="nameToBeChecked form-horizontal" action="backupController.php?do=add" method="post" >
          <!--validate the form before checking name--> 
          {/literal}
          
          
          <div class="form-group">
            <label for="bankname" class="col-lg-2 control-label">اسم قاعدة البيانات</label>
            
            <div class="col-lg-4">
            
                <span id="name">
			<input type="text" name="backupname" id="backupname" class="form-control" placeholder="اسم القاعدة" />
				<span class="textfieldRequiredMsg">*</span></span>
                
                
                
                  <div id="nameError" class="alert alert-block alert-danger fade in" style="display:none">
                <button type="button" class="close pull-left" data-dismiss="alert" aria-hidden="true">&times;</button>
                <h4>رسالة خطأ</h4>
                <p>هذا الإسم مستخدم من قبل</p>
                <div class="clearfix"></div>
              </div>
                
              
           
              
            </div>
          </div>
          
          <!--==============================-->
          
      
       
          
          <div class="form-group">
            <div class="col-lg-offset-2 col-lg-4">
              <button name="btnAdd" type="submit" id="btnAdd" class="btn btn-primary pull-left">حفظ</button>
            </div>
          </div>
        </form>
        
        
      </div>
    </div>
  </div>
</div>


{literal}
<script type="text/javascript">
var name = new Spry.Widget.ValidationTextField("name");
</script>


{/literal} 