<?php /* Smarty version Smarty-3.1.11, created on 2026-04-12 02:04:54
         compiled from "..\views\default\bankview\add.html" */ ?>
<?php /*%%SmartyHeaderCode:1946269dae1a64dc2d7-50263538%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
$_valid = $_smarty_tpl->decodeProperties(array (
  'file_dependency' => 
  array (
    '58ca1b61f3c66673dcb2b2e2d5648366de13da80' => 
    array (
      0 => '..\\views\\default\\bankview\\add.html',
      1 => 1752437506,
      2 => 'file',
    ),
  ),
  'nocache_hash' => '1946269dae1a64dc2d7-50263538',
  'function' => 
  array (
  ),
  'has_nocache_code' => false,
  'version' => 'Smarty-3.1.11',
  'unifunc' => 'content_69dae1a6562ca4_10677004',
),false); /*/%%SmartyHeaderCode%%*/?>
<?php if ($_valid && !is_callable('content_69dae1a6562ca4_10677004')) {function content_69dae1a6562ca4_10677004($_smarty_tpl) {?>
<div class="row">
    <div class="container">


        <ol class="breadcrumb">
            <li><a href="#">المصروفات والايرادات</a></li>
            <li><a href="bankController.php?do=show">البنوك</a></li>
            <li class="active">اضافة بنك</li>
        </ol>



        <div class="panel panel-default panel-m">
            <!-- Default panel contents -->
            <div class="panel-heading">
                <h3 class="panel-title">إضافة بنك</h3>
            </div>
            <div class="panel-body">
                
                <form id="bankform" class="nameToBeChecked form-horizontal" action="bankController.php?do=add" method="post" >
                    <!--validate the form before checking name-->
                    


                    <div class="form-group">
                        <label for="bankname" class="col-lg-2 control-label">اسم البنك</label>

                        <div class="col-lg-4">

                            <input type="text" name="bankname" id="bankname" class="form-control" placeholder="اسم البنك" />

                            <div id="nameError"  style="display:none">

                            </div>
                        </div>
                    </div>

                    <!--==============================-->

                    <div class="form-group">
                        <label for="bankdetails" class="col-lg-2 control-label">الوصف</label>
                        <div class="col-lg-4">
                            <textarea  class="form-control" rows="3" name="bankdetails"></textarea>
                        </div>
                    </div>

                    <!--==============================-->





                    <div class="form-group">
                        <div class="col-lg-offset-2 col-lg-4">
                            <button name="btnAdd" type="button" id="btnAdd" class="btn btn-primary pull-left">حفظ</button>
                        </div>
                    </div>
                </form>


            </div>
        </div>
    </div>
</div>



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


<?php }} ?>