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


        <ol class="breadcrumb">
            <li><a href="#">الادارة</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">



                {for $m=1 to {$k}}

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

                    <div class="form-group">
                        <label for="newdatabaseName" class="col-lg-2 control-label">{$tableArabicName{$m}}</label>


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

                            {if {$tableDataCount{$m}} > 0}
                            تم النقل

                            {else}

                            <input type="hidden" name="tablename" value="{$tableName{$m}}"/>

                            <input type="hidden" name="newdatabaseName" value="{$newdatabaseName}"/>
                            <input type="hidden" name="newUserName" value="{$newUserName}"/>
                            <input type="hidden" name="newPassword" value="{$newPassword}"/>

                            <input type="hidden" name="olddatabaseName" value="{$olddatabaseName}"/>
                            <input type="hidden" name="oldUserName" value="{$oldUserName}"/>
                            <input type="hidden" name="oldPassword" value="{$oldPassword}"/>

                            <!--  <a href="transferdatabaseControllerYasmeen.php?do=inserttabledata&tablename=tableName{$m}" class="btn btn-primary pull-left">نقل </a>-->

                            <button  type="submit" id="submit" class="btn btn-primary pull-left">نقل</button>
                            {/if}

                        </div>
                    </div>

                </form>


                {/for}

            </div>
        </div>





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



