<div class="row">
    <div class="container">

        <ol class="breadcrumb">
            <li><a href="#">نظام الجمعيات</a></li>
            <li><a href="charityController.php?do=show">عرض الجمعيات</a></li>
            <li class="active">اضافة </li>
        </ol>


        <div class="panel panel-default panel-m">
            <div class="panel-heading">
                <h3 class="panel-title">اضافة </h3>
            </div>
            <div class="panel-body">


                {literal}
                <form class="form-horizontal" action="charityController.php" id="charityformajax" method="post"
                    enctype="multipart/form-data" data-dosave="?do=savedata">
                    {/literal}
                    <div class="form-group">
                        <label for="txtName" class="col-lg-2 control-label">اسم الجمعية</label>
                        <div class="col-lg-4">
                            <input required="required" type="text" name="charityname" class="form-control checkcolumn"
                                placeholder="اسم الجمعية" data-table="charities" data-tablecol="charityname"
                                data-tableid="" data-parentid="" data-parentcol="" />
                        </div>
                    </div>
                    <div class="form-group">
                        <label for="txtName" class="col-lg-2 control-label">تاريخ الإنشاء </label>
                        <div class="col-lg-4"> <span id="sprydate">
                                <input type="text" class="form-control awdatepicker" autocomplete="off"
                                    data-table="charities" data-date-format="yyyy-mm-dd" placeholder="تاريخ الإنشاء"
                                    name="createdate" id="bn">
                                <span class="textfieldRequiredMsg">*</span></span>
                        </div>
                    </div>

                    <div class="form-group">
                        <label for="txtName" class="col-lg-2 control-label">رقم الجمعية</label>
                        <div class="col-lg-4">
                            <input required="required" type="text" name="charitynumber" digits="true"
                                class="form-control checkcolumn nummbers" placeholder="رقم الجمعية"
                                data-table="charities" data-tablecol="charitynumber" data-tableid="" data-parentid=""
                                data-parentcol="" />
                        </div>
                    </div>
                    <div class="form-group">
                        <label for="txtName" class="col-lg-2 control-label">رقم تليفون الجمعية </label>
                        <div class="col-lg-4">
                            <input required="required" type="text" name="charityphone" digits="true"
                                class="form-control checkcolumn nummbers" placeholder="رقم تليفون الجمعية  "
                                data-table="charities" data-tablecol="charityphone" data-tableid="" data-parentid=""
                                data-parentcol="" />
                        </div>
                    </div>

                    <div class="form-group">
                        <label for="txtName" class="col-lg-2 control-label"> عنوان الجمعية</label>
                        <div class="col-lg-4">
                            <input required="required" type="text" name="charityaddress" class="form-control"
                                placeholder="عنوان الجمعية" />
                        </div>
                    </div>
                    <div class="form-group">
                        <label for="txtName" class="col-lg-2 control-label">صوره الجمعية</label>
                        <div class="col-lg-4">
                            <input type="file" name="charityimage" />
                        </div>
                    </div>

                    <div class="form-group">
                        <label for="txtName" class="col-lg-2 control-label">ملاحظات</label>
                        <div class="col-lg-4">
                            <textarea class="form-control" name="charitynote" rows="2" placeholder="ملاحظات"></textarea>
                        </div>
                    </div>

                    <div class="form-group">
                        <div class="col-lg-offset-2 col-lg-4">
                            <button type="button" class="btn btn-primary pull-left charityformajax">حفظ الامر</button>
                        </div>
                    </div>
                </form>
            </div>
        </div>
    </div>
</div>
<script type="text/javascript">
    $(document).ready(function () {
        selectedit();
    });
</script>