OXIESEC PANEL
- Current Dir:
/
/
var
/
www
/
award
/
process
Server IP: 10.0.0.4
Upload:
Create Dir:
Name
Size
Modified
Perms
📁
..
-
05/20/2025 11:54:41 PM
rwxrwxrwx
📄
add.nominee.php
5.7 KB
12/02/2020 03:45:24 PM
rw-rw-r--
📄
chk.login.php
816 bytes
12/02/2020 03:45:24 PM
rw-rw-r--
📄
edit.nominee.php
15.99 KB
12/02/2020 03:45:24 PM
rw-rw-r--
📄
endorse.nominee.php
4.01 KB
12/02/2020 03:45:24 PM
rw-rw-r--
📄
forgot.password.php
1.9 KB
12/02/2020 03:45:25 PM
rw-rw-r--
📄
logout.php
105 bytes
12/02/2020 03:45:26 PM
rw-rw-r--
📄
register.php
3.04 KB
12/02/2020 03:45:26 PM
rw-rw-r--
📄
submit.nominee.php
18.61 KB
12/02/2020 03:45:26 PM
rw-rw-r--
📄
update.nominee.php
5.86 KB
12/02/2020 03:45:26 PM
rw-rw-r--
📄
view.endorsement.php
1.48 KB
12/02/2020 03:45:26 PM
rw-rw-r--
📄
view.nominee.php
10.59 KB
12/02/2020 03:45:27 PM
rw-rw-r--
Editing: view.endorsement.php
Close
<? // View Endorsement include '../inc/validate.php'; include '../inc/utils.php'; $id = trim(isset($_POST["id"]) ? $_POST["id"] : ''); $num = trim(isset($_POST["num"]) ? $_POST["num"] : ''); if ($id <> '' && $num <> '') { $sql = "SELECT * FROM endorser WHERE nominationid=$id AND endorsernum=$num AND nominatedby=$gUserId"; $result = mysqli_query($con, $sql); $numRows = mysqli_num_rows($result); if ($numRows > 0) { $row = mysqli_fetch_array($result); $endorserSalutation = $row["salutation"]; $endorserFirstName = $row["fname"]; $endorserLastName = $row["sname"]; $endorserComments = $row["comments"]; $endorserFile = $row["fileupload"]; if ($endorserComments == '') $endorserComments = "No comments entered"; ?> <div class="popup" style="width:420px"> <div class="widget"> <div class="card"> <div class="card-header">Endorsement Details</div> </div> <div style="padding:15px 25px"> <label for="nomineeFirstName">Endorser</label> <div class="alert alert-primary"><b><?=$endorserSalutation?> <?=$endorserFirstName?> <?=$endorserLastName?></b><br></div> <label for="nomineeFirstName">Comments</label> <div class="alert alert-primary"><b><?=$endorserComments?></b><br></div> <? if ($endorserFile <> '') { ?> <label for="nomineeFirstName">Uploaded File</label> <div class="alert alert-primary"><b><a href="https://award.accsindia.org/uploads/<?=$endorserFile?>" target="_blank">View</a></b><br></div> <? } ?> </div> </div> </div> <? } }