This repository has been archived by the owner on Jul 30, 2021. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 32
/
index.php
65 lines (59 loc) · 2.14 KB
/
index.php
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
<?php
/*********************************************************************
index.php
Helpdesk landing page. Please customize it to fit your needs.
Peter Rotich <[email protected]>
Copyright (c) 2006-2010 osTicket
http://www.osticket.com
Released under the GNU General Public License WITHOUT ANY WARRANTY.
See LICENSE.TXT for details.
vim: expandtab sw=4 ts=4 sts=4:
$Id: $
**********************************************************************/
require('client.inc.php');
//We are only showing landing page to users who are not logged in.
if($thisclient && is_object($thisclient) && $thisclient->isValid()) {
require('tickets.php');
exit;
}
require(CLIENTINC_DIR.'header.inc.php');
?>
<div id="index">
<h1 dir="<?php echo $trl->dir() ?>"><?php te('TEXT_WELCOME_TITLE'); ?></h1>
<p class="big" dir="<?php echo $trl->dir() ?>"><?php te('TEXT_WELCOME_MSG'); ?></p>
<hr />
<br />
<div class="lcol">
<img src="./images/new_ticket_icon.jpg" width="48" height="48" align="left" style="padding-bottom:150px;">
<h3 dir="<?php echo $trl->dir() ?>"><?php te('TITLE_BOX_NEW_TICKET'); ?></h3>
<p dir="<?php echo $trl->dir() ?>"><?php te('TEXT_BOX_NEW_TICKET'); ?></p>
<form method="link" action="open.php">
<br /><br />
<input type="submit" class="button2" value="<?php te('LABEL_OPEN_NEW_TICKET') ?>">
</form>
</div>
<div class="rcol">
<img src="./images/ticket_status_icon.jpg" width="48" height="48" align="left" style="padding-bottom:150px;">
<h3><?php te('TITLE_OPEN_PREVIOUS_TICKET'); ?></h3>
<?php te('TEXT_OPEN_PREVIOUS_TICKET'); ?>
<br /><br />
<form class="status_form" action="login.php" method="post">
<fieldset>
<label><?php te('LABEL_EMAIL'); ?></label>
<input type="text" name="lemail">
</fieldset>
<fieldset>
<label><?php te('LABEL_TICKET_NUMBER'); ?></label>
<input type="text" name="lticket">
</fieldset>
<fieldset>
<label> </label>
<input type="submit" class="button2" value="<?php te('LABEL_CHECK_STATUS'); ?>">
</fieldset>
</form>
</div>
<div class="clear"></div>
<br />
</div>
<br />
<?php require(CLIENTINC_DIR.'footer.inc.php'); ?>