43 lines
1.7 KiB
PHP
43 lines
1.7 KiB
PHP
<?php
|
|
if (!empty($_SESSION['site310_edit']))
|
|
{
|
|
?>
|
|
|
|
<?php
|
|
// pobiera dane
|
|
if(empty($_SESSION['site310_array']))
|
|
$_SESSION['site310_array'] = sqlGetResAsArray("select * from seg_object_hole_cards where OHC_DRS_ID=".$_GET['dev']);
|
|
?>
|
|
|
|
<form method="post" action="./?pg=site310&&dev=<?php echo $_GET['dev']; ?>&tab=5">
|
|
<div class="tag100">
|
|
<div class="head_tag"><?php echo $lab_ButtonName_HoleCard_005 ;?></div>
|
|
<div class="tag">
|
|
<table style="padding-bottom: 10px;"><tr><td><?php echo $lab_Field_site405_011;?></td><td style="padding-left: 5px; font-weight: bold;"><?php echo $_SESSION['well_details']['wellName'];?></td><td style="padding-left: 100px;"><?php echo $lab_Field_site301_014;?></td><td style="padding-left: 5px; font-weight: bold;"><?php echo $_SESSION['well_details']['well_Uj'];?></td></tr></table>
|
|
<table style="width: 100%;">
|
|
<tr>
|
|
<td><textarea style="width: 100%; height: 300px;" name="inOHC_UWAGI"><?php echo $_SESSION['site310_array'][0]['OHC_UWAGI']; ?></textarea></td>
|
|
</tr>
|
|
|
|
</table>
|
|
|
|
</div>
|
|
</div>
|
|
|
|
|
|
|
|
<div class="tag100">
|
|
<div class="tag_buttons">
|
|
<a class="btn btn-info btn-sm" style="text-decoration: none;" href="./?pg=site310&dev=<?php echo $_GET['dev'];?>&tab=5" role="button"><?php echo $lab_ButtonName_Cancel; ?></a>
|
|
<?php if (!empty($_SESSION['site310_edit'])): ?>
|
|
<INPUT class='btn btn-success btn-sm' TYPE="SUBMIT" NAME="sub310tab5" VALUE="<?php echo $lab_ButtonName_Update; ?>">
|
|
<?php endif; ?>
|
|
</div>
|
|
</div>
|
|
|
|
</form>
|
|
|
|
<?php
|
|
}
|
|
else showFooterWarningAccessNotification($lab_FooterWarningAccessNotification_001);
|
|
?>
|