<div class="row">
	<div class="container">
    
	 	<ol class="breadcrumb">
          <li><a href="#"> اعدادات التصنيع </a></li>
          <li class="active">عرض الاعداد</li>
        </ol>

            
            
            <div class="panel panel-default">
          <!-- Default panel contents -->
          <div class="panel-heading">عرض الاعداد</div>
          <div class="panel-body">
          
          
        <div id="outputString" class="alert alert-block alert-success fade in" style="display:none">
        <button type="button" class="close pull-left" data-dismiss="alert" aria-hidden="true">&times;</button>
        
        <p id="outputStringValue">{$outputString}</p>
       
        <div class="clearfix"></div>
      	</div>
        
 </div>
     
      <!-- Table -->
      
         <form method="post" action="manfacuresettingController.php?do=show" onsubmit="">
      
        <table class="table">
          <thead>
            <tr>
           	   <th class="noprint"><input type="checkbox" name="checkAll" id="checkAll"/></th>
               <th>اسم الاعداد</th>                    
				<th class="noprint">تعديل</th>
                <th class="noprint">حذف</th>
            </tr>
          </thead>
          {foreach $allmanufacures as $new}
          <tr>
          <tbody>  
          <td class="noprint">
               <input type="checkbox" name="choosedItem[]" id="checked{$i}" class="choosenItem" value="{$x}" />
               </td> 
               <td>{$new->ordername}</td>
				
                
                <td class="noprint">
              <a href="manfacuresettingController.php?do=edit&id={$new->manufacuresettingid}" type="button" class="btn btn-default btn-lg editicon"></a>
             </td>
             
                   <td class="noprint">
               <a href="manfacuresettingController.php?do=delete&id={$new->manufacuresettingid}" name="dd" type="button" class="btn btn-default btn-lg deleteicon conformdel1" data-position="" onClick="if (confirm(' متأكد انك تريد الحذف ؟') == false) return false;"></a>

            </td>     

   		 </tr>
         {/foreach}
          </tbody>
        </table>
        
      
        
        
        
        <div class="clearfix"></div>
   
         </form> 
       
      </div>
  </div>
  
</div>

	{literal}
   <script>
   									/*function getValue(idval)
									{
									var confirmDel  = window.confirm("هل تريد حذف العنصر؟");
										jQuery.fallr('show', {
											buttons : {
												button1 : {text: 'نعم', danger:true, onclick: clicked},
												button2 : {text: 'لا'}
											},
											content : confirmDel,
											icon    : 'error'
										});
										alert(confirmDel);
										
										if (confirmDel==true)
										  {
										     // x="You pressed OK!";
											 window.location.href ="?do=delete&id="+idval;
										  }
										else
										  {
										       // x="You pressed Cancel!";
										  }
									}*/
   </script>          
          {/literal}

