Initial commit
This commit is contained in:
@@ -0,0 +1,56 @@
|
||||
<?php
|
||||
if (!empty($_SESSION['site807']))
|
||||
{
|
||||
?>
|
||||
|
||||
|
||||
<?php
|
||||
// pobiera parametry z url
|
||||
if (!empty($_GET['param']))
|
||||
{
|
||||
$paramArray = explode(',',$_GET['param']);
|
||||
$getAcction = $paramArray[0];
|
||||
$getRecID = $paramArray[1];
|
||||
unset($paramArray);
|
||||
if ($getRecID>0 && $getAcction!='add') $tbArray = sqlGetResAsArray("select WWD_NAME from seg_water_drainage where WWD_ID=".$getRecID);
|
||||
}
|
||||
?>
|
||||
|
||||
|
||||
<div class="tag100">
|
||||
<FORM ACTION="?pg=site807tree" METHOD="POST">
|
||||
<input type="hidden" name="inWWD_ID" value="<?php echo $getRecID; ?>">
|
||||
|
||||
<div class="head_tag"><?php echo $lab_Tag_site301_012 ;?></div>
|
||||
<div class="tag">
|
||||
<table class="desc_val">
|
||||
<tr>
|
||||
<td class="desc"><?php echo $lab_Field_site807_015 ; ?></td>
|
||||
<td CLASS=desc_value>
|
||||
<input type="text" class="text75_req" name="inWWD_NAME" value="<?php echo $tbArray[0]['WWD_NAME'];?>" required>
|
||||
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
</div>
|
||||
|
||||
<div class="tag_buttons">
|
||||
<a class="btn btn-info btn-sm" style="text-decoration: none;" href="?pg=site807tree" role="button"><?php echo $lab_ButtonName_Cancel; ?></a>
|
||||
|
||||
<?php if ($getAcction=='add' && !empty($_SESSION['site310_edit'])): ?>
|
||||
<INPUT class='btn btn-success btn-sm' TYPE="SUBMIT" NAME="subSite807Save" VALUE="<?php echo $lab_ButtonName_Save; ?>">
|
||||
<?php elseif ($getAcction=='edit' && !empty($_SESSION['site310_edit'])): ?>
|
||||
<INPUT class='btn btn-success btn-sm' TYPE="SUBMIT" NAME="subSite807Update" VALUE="<?php echo $lab_ButtonName_Update; ?>">
|
||||
<?php endif; ?>
|
||||
|
||||
|
||||
</div>
|
||||
</FORM>
|
||||
</div>
|
||||
|
||||
|
||||
|
||||
<?php
|
||||
}
|
||||
else showFooterWarningAccessNotification($lab_FooterWarningAccessNotification_001);
|
||||
?>
|
||||
Reference in New Issue
Block a user