Дипломная работа: Разработка автоматизированной системы учёта товаров на складе в ООО "РесурсМетПром"

Внимание! Если размещение файла нарушает Ваши авторские права, то обязательно сообщите нам
97
pass:{minlength:"Не менее шести символов",
validName: "Только латинский алфавит и цифры",
},
conpass:{equalTo:"Пароли не совпадают"
}
},
});
$(this).corner();
});
</script>
<SCRIPT Language=JavaScript >
//Скрипт очищающий форму от текста при нажатии на нее курсора
function doClear(theText) { if (theText.value == theText.defaultValue) {
theText.value = "" } }
function doDefault(theText) { if (theText.value == "") { theText.value =
theText.defaultValue } }
</script>
</head>
<body>
<?php include "menu.php"; ?>
<div id='content'>
<div id='content1'>
<!-- вот здесь вся инфа-->
<p class="pp">
Перемещения продукции <br>
</p>
<?php
/* require "dbconnect.php";
$res_id2=mysql_query("SELECT * FROM `country`")
98
or die(mysql_error());
$strana=mysql_num_rows($res_id2);
$res_id4=mysql_query("SELECT * FROM `sex`")
or die(mysql_error());
$sex=mysql_num_rows($res_id4);*/
?>
<!--<table width="900" border="0" cellspacing="0" cellpadding="0">
<tr >
<td width="30">&nbsp;</td>
<td width="320" class="date1" >Полное наименование </td>
<td width="30">&nbsp;</td>
<td width="320" class="date1" >Артикул </td>
<td width="30">&nbsp;</td>
</tr>
<tr>
<td width="30">&nbsp;</td>
<td width="320" class="log">
<form method="post" id="signup">
<input type="text" size="60" value="Не указан" onFocus="doClear(this)"
onBlur="doDefault(this)" name="nameprod" class="required" title="<br>
Поле обязательно к заполнению"></td>
<td width="30">&nbsp;</td>
<td width="320" class="log">
<input type="text" size="60" value="Не указан"
onFocus="doClear(this)" onBlur="doDefault(this)" name="art"
class="required" title="<br>
Поле обязательно к заполнению">
</td>
<td width="30">&nbsp;</td>
99
</tr>
<tr>
<td colspan="5">&nbsp;</td>
</tr>
<tr >
<td width="30">&nbsp;</td>
<td width="320" class="date1" >Форма выпуска</td>
<td width="30">&nbsp;</td>
<td width="320" class="date1" >Срок хранения (в днях)</td>
<td width="30">&nbsp;</td>
</tr>
<tr>
<td width="30">&nbsp;</td>
<td width="320" class="log">
<input type="text" size="60" value="Не указан" onFocus="doClear(this)"
onBlur="doDefault(this)" name="edizmpr" class="required" title="<br>
Поле обязательно к заполнению"></td>
<td width="30">&nbsp;</td>
<td width="320" class="log">
<input type="text" size="60" value="Не указан"
onFocus="doClear(this)" onBlur="doDefault(this)" name="srok"
class="required" title="<br>
Поле обязательно к заполнению">
</td>
<td width="30">&nbsp;</td>
</tr>
<td colspan="5">&nbsp;</td>
</tr>
<tr >
100
<td width="30">&nbsp;</td>
<td width="320" class="date1" >Оптовая цена</td>
<td width="30">&nbsp;</td>
<td width="320" class="date1" >Розничная цена</td>
<td width="30">&nbsp;</td>
</tr>
<tr>
<td width="30">&nbsp;</td>
<td width="320" class="log">
<input type="text" size="60" value="Не указан" onFocus="doClear(this)"
onBlur="doDefault(this)" name="optst" class="required" title="<br>
Поле обязательно к заполнению"></td>
<td width="30">&nbsp;</td>
<td width="320" class="log">
<input type="text" size="60" value="Не указан"
onFocus="doClear(this)" onBlur="doDefault(this)" name="rozst"
class="required" title="<br>
Поле обязательно к заполнению">
</td>
<td width="30">&nbsp;</td>
</tr>
<tr>
<td colspan="5">&nbsp;</td>
</tr>
<tr >
<td width="30">&nbsp;</td>
<td class="date1" colspan="3">Описание </td>
<td width="30">&nbsp;</td>
</tr>
101
<tr>
<td width="30" >&nbsp;</td>
<td class="log" colspan="3">
<textarea ROWS=3 COLS=140 name="primP" class="required" title="<p
class='log'>Укажите наименование</p>"> </textarea>
</td>
<td width="30">&nbsp;</td>
</tr>
<tr>
<td colspan="5">&nbsp;</td>
</tr>
<tr>
<td colspan="5" class="pp"><input type="submit" name="post"
value="Зарегистрировать" >
</form></td>
</tr>
<tr>
<td colspan="7">&nbsp;</td>
</tr>
<tr>
<td colspan="7">
<?php
require "dbconnect.php";
if(isset($_POST['post']))
{
$query1="insert into prod
(`nameprod`,`art`,`edizmpr`,`srokprod`,`optst`,`rozst`,`primP`)
Источник: https://baza.diplomsite.ru/previewfile/389