예제 #1
0
<?php

session_start();
include "header.php";
include "subheader.php";
require_once "common/class/helpdesk.class.php";
require_once "common/class/user.class.php";
$user = new user();
$helpdesk = new helpdesk();
$type = "all";
$result = $helpdesk->get_all_request($type);
?>
<div  style="width: 580px; margin-left: 50px;">
<center>
  <h3><u>Support Help Desk</u></h3>
</center>

  <div class="formRowBig"><span class="fieldNamewithheader heading">
  <table width="100%">
  <tr>
  <td align="left">
  <a href="javascript: loadPage('/ajax/helpdesk_new_request.php')">Open New Request</a>
  </td>
  <td align="center">
   <a href="helpdesk.php">Open Request </a>
   </td>
   <td align="right">
   <a href="helpdesk_all.php">View All Request</a>
   </td>
  </tr>
  </table>
예제 #2
0
	<tr><td colspan="6" align="center" valign="middle">
    <table align="center" >
    <tr>
    <td><img src="images/listmain.png" /></td>
    <td style="color:#003399; font-family:Arial, Helvetica, sans-serif; font-weight:bold; font-size:18px;" align="center" valign="middle">
    &nbsp;&nbsp;List of Requests</td>
    </tr>
    </table>
	</td></tr>

<tr><td  colspan="6"><table width="100%"><tr><td>
<br />

<?php 
if ($_GET['type'] == "all") {
    $result = $helpdesk->get_all_request($_GET['type']);
    $mes = "No Request Posted Yet";
} else {
    $result = $helpdesk->get_all_request();
    $mes = "No Open Requests";
}
if ($_GET['type'] == "all") {
    echo '<form name="listrequest" action="delete_requests.php?type=' . $_GET['type'] . '" method="post">';
} else {
    ?>
<form name="listrequest" action="delete_requests.php" method="post">
<?php 
}
?>
<input type="hidden" id="type" name="type" value="" />
<input type="hidden" id="selectcheck"  name="selectcheck" />