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


        <ol class="breadcrumb">
            <li><a href="#">الادارة</a></li>
            <li class="active">نقل قاعدة بيانات</li>
        </ol>

        <form class="form-horizontal" action="transferdatabaseControllerYasmeen.php?do=add" method="post" >






            <div class="panel panel-default panel-m">
                <!-- Default panel contents -->
                <div class="panel-heading">
                    <h3 class="panel-title">قاعدة البيانات الجديدة</h3>
                </div>
                <div class="panel-body">

                    <div class="form-group">
                        <label for="newdatabaseName" class="col-lg-2 control-label">اسم قاعدة البيانات الجديدة</label>

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

                            <span id="name">
                                <input type="text" name="newdatabaseName" value="teststore2" id="newdatabaseName" class="form-control" placeholder="قاعدة البيانات الجديدة" />
                                <span class="textfieldRequiredMsg">*</span></span>



                        </div>
                    </div>





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


                    <div class="form-group">
                        <label for="newUserName" class="col-lg-2 control-label">اسم المستخدم</label>

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

                            <span id="sprytextfield1">
                                <input type="text" name="newUserName" id="newUserName" value="root" class="form-control" placeholder="اسم المستخدم" />
                                <span class="textfieldRequiredMsg">*</span></span></div>
                    </div>
                    <!--==============================-->




                    <div class="form-group">
                        <label for="newPassword" class="col-lg-2 control-label">كلمة المرور</label>

                        <div class="col-lg-4">
                            <span id="sprytextfield2">
                                <input type="password" name="newPassword" value="123456" id="newPassword" class="form-control" placeholder="كلمة المرور" />

                                <span class="textfieldRequiredMsg">*</span></span></div>
                    </div>



                </div>
            </div>






            <div class="panel panel-default panel-m">
                <!-- Default panel contents -->
                <div class="panel-heading">
                    <h3 class="panel-title">قاعدة البيانات القديمة</h3>
                </div>
                <div class="panel-body">

                    <div class="form-group">


                        <label for="olddatabaseName" class="col-lg-2 control-label">اسم قاعدة البيانات القديمة</label>

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

                            <span id="name2">
                                <input type="text" name="olddatabaseName" id="olddatabaseName"  value="stores_db4" class="form-control" placeholder="قاعدة البيانات القديمة" onkeyup="checkDatabaseName(this.value);" />

                                <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">
                        <label for="oldUserName" class="col-lg-2 control-label">اسم المستخدم</label>

                        <div class="col-lg-4">
                            <span id="sprytextfield3">
                                <input type="text" name="oldUserName" id="oldUserName" value="root" class="form-control" placeholder="اسم المستخدم" />
                                <span class="textfieldRequiredMsg">*</span></span></div>
                    </div>
                    <!--==============================-->




                    <div class="form-group">
                        <label for="oldPassword" class="col-lg-2 control-label">كلمة المرور</label>

                        <div class="col-lg-4">
                            <span id="sprytextfield4">
                                <input type="password" name="oldPassword" id="oldPassword" value="123456" class="form-control" placeholder="كلمة المرور" />
                                <span class="textfieldRequiredMsg">*</span></span></div>
                    </div>

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



                </div>
            </div>











            <div class="row">

                <div class="form-group">
                    <div class="col-lg-offset-2 col-lg-4">
                        <button name="btnAdd" type="submit"  class="btn btn-primary pull-left">تنفيذ</button>
                    </div>
                </div>

            </div><!-- end of fifth row-->


        </form>
    </div><!-- end of container-->
</div><!-- end of main row-->



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

    var sprytextfield1 = new Spry.Widget.ValidationTextField("sprytextfield1");
    var sprytextfield2 = new Spry.Widget.ValidationTextField("sprytextfield2");
    var sprytextfield3 = new Spry.Widget.ValidationTextField("sprytextfield3");
    var sprytextfield4 = new Spry.Widget.ValidationTextField("sprytextfield4");

</script>

{/literal}
