File size: 1.43Kb
<?php
// wap phpmyadmin
// ionutvmi@gmail.com
// master-land.net
?>
<center><b><?php echo strtoupper($lang->Import);?></b></center>
<br/>
<?php
echo "<div class='left'>".$_var->home.($_GET['db'] ? "<a href='tables.php?db=".urlencode($db_name)."'>".pma_img('database.png').htmlentities($db_name)."</a> »" : "")." ".pma_img('b_tblimport.png').$lang->Import."</div><hr size='1px'>";
if($_POST) {
if($_err) {
foreach($_err as $_err)
echo "<div class='notice'> ".pma_img('s_error.png')." $lang->Error : $_err </div>";
echo "<div class='notice'> ".pma_img('s_error.png')." $lang->sql_stop </div>";
} else {
echo "<div class='success'> ".pma_img('s_success.png')." $lang->sql_ok ($_sql_nr $lang->Query)</div>";
}
}
?>
<form action='?<?php echo $_SERVER['QUERY_STRING'];?>' method='post'>
<input type='text' name='url' value='<?php echo ($_GET['file'] ? htmlentities($_GET['file'],ENT_QUOTES) : "http://");?>'><br/>
<input type='checkbox' name='sv' value='1'> <?php echo $lang->Save_after_execute; ?><br/>
<input type='submit' value='<?php echo $lang->Go;?>'>
</form>
<hr size='1px'>
<form action='?<?php echo $_SERVER['QUERY_STRING'];?>' method='post' enctype='multipart/form-data'>
- <b><?php echo $lang->Max.": ".get_max_upl();?>M</b><br/>
<input type='file' name='file'> <br/>
<input type='checkbox' name='sv' value='1'> <?php echo $lang->Save_after_execute; ?><br/>
<input type='submit' name='vmi' value='<?php echo $lang->Upload;?>'>
</form>