Codice PHP:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en" dir="ltr">
<head>
<title>Operators</title>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta name="robots" content="noindex,nofollow" />
<style type="text/css">
* {
margin:0px;
padding:0px
}
a:link, a:visited,a:hover,a:active {
text-decoration: none;
}
fieldset,img{
border:0px solid #000000;
}
textarea, input, select {
border: 1px solid #D1D1D1;
padding:2px 0px;
background-color:#E9E9E9;
font: normal 16px Verdana, Arial, Helvetica, sans-serif;
}
textarea:focus, input:focus, select:focus {
border: 1px solid #AAAAAA;
background-color: #FFFFFF;
color: #111111;
}
ul,ol {
list-style-type:none;
}
body {
text-align:center;
background-color:#EEEEEE;
font: normal 1em/1.2em "Lucida Grande","Lucida Sans Unicode",Verdana,sans-serif;
}
#container {
margin:0px auto;
text-align:left;
width:990px;
border-top:2px solid #D1D1D1;
border-bottom:2px solid #D1D1D1;
}
#header {
position:relative;
height:80px;
background: #2989CC url(header.png) repeat-x top left;
}
#navigation{
height:50px;
background: #D1D1D1 url(navigation.png) repeat-x top left;
}
#content{
position:relative;
margin:15px 10px;
}
#footer{
position:relative;
height:50px;
background: #2989CC url(footer.png) repeat-x top left;
}
/* HEADER */
#header h1 {}
#header h1 a:link,
#header h1 a:visited,
#header h1 a:hover,
#header h1 a:active{
display:block;
padding-left:10px;
font: normal 26px/80px Georgia, "Times New Roman", Times, serif;
color:#E9E9E9;
}
/* USER MANAGER */
ul#manage-user{
position:absolute;
top:50px;
right:10px;
line-height:30px;
}
ul#manage-user li{
display:inline;
margin-right:5px;
font-size:15px;
}
/* MENU */
ul#menu{
padding-left:10px;
}
ul#menu li{
display:inline;
margin-right:5px;
line-height:50px;
}
ul#menu li a:link,
ul#menu li a:visited,
ul#menu li a:hover,
ul#menu li a:active{
padding:5px;
background-color:#66AFE2;
color:#EEEEEE;
}
ul#menu li a.current:link,
ul#menu li a.current:visited,
ul#menu li a.current:hover,
ul#menu li a.current:active{
background-color:#F56600;
color:#EEEEEE;
}
/* FOOTER */
#footer h3{
padding-left:10px;
font: normal 18px/50px Georgia, "Times New Roman", Times, serif;
color:#E9E9E9;
}
/* LIST */
table#list-all{
width: 100%;
margin-top:10px;
}
table#list-all thead{
background-color: #dfdfdf;
}
table#list-all thead tr th{
text-align: left;
}
table#list-all td{
font: 13px "Lucida Grande", "Lucida Sans Unicode", Tahoma, Verdana;
}
table#list-all td,table#list-all th{
padding: 5px 6px;
}
tbody#the-list{}
.even{
background-color:#F1F1F1
}
.odd{
background-color:#E5F3FF
}
/* MANAGER BAR */
ul#manage-bar{}
ul#manage-bar li{
display:inline;
}
ul#manage-bar li a:link,
ul#manage-bar li a:visited,
ul#manage-bar li a:hover,
ul#manage-bar li a:active{
color:#2B8ACD;
}
/* SEARCH FORM */
#search{}
#frm-search{
position:absolute;
top:0px;
right:0px;
}
#frm-search li {
display:inline;
}
.label-search{
font-weight:500;
font-size:16px;
font-family:Georgia, "Times New Roman", Times, serif;
cursor:pointer;
color:#001100;
}
.input-search,.input-search:focus{
font-size:14px;
width:100px;
}
.buttom-search,.buttom-search:focus{
font-size:14px;
width:100px;
}
</style>
</head>
<body>
<div id="container">
<div id="header">
<h1>[url="index.php"]Troubleticket[/url]</h1>
<ul id="manage-user"> [*][url="/admin/logout"]logout[/url] [*]Whisher [*]Nia [/list]
</div>
<div id="navigation">
<ul id="menu"> [*][url="/admin/home/"]Home[/url] [*][url="/admin/tickets/"]Tickets[/url] [*][url="/admin/users/"]Users[/url] [*][url="/admin/operators/"]Operators[/url] [*][url="/admin/workgroups/"]Workgroups[/url] [*][url="/admin/categories/"]Categories[/url] [*][url="/admin/settings/"]Settings[/url] [/list]
</div>
<div id="content">
<div id="operators-bar" class="manage-bar">
<ul id="operators-manage-bar"> [*][url="/admin/operators/insert/"]Insert[/url] [/list]
<form action="/admin/operators/" method="post" class="search" id="frm-search">
<fieldset>
[list=1] [*]
<label for="operator-fields" class="label-search">Search for : </label>
<select name="operator_fields" size="1" tabindex="1" class="input-search" id="operator-fields">
<option value="uname" >name</option>
<option value="surname" >surname</option>
<option value="username" >username</option>
<option value="email" >email</option>
</select>
[*]
<input type="text" name="operator_search" title="operator search" value="" maxlength="50" tabindex="2" class="input-search" id="operator-search" />
[*]
<input type="submit" name="operator_search_submit" title="Search" value="Search" tabindex="3" class="buttom-search" id="operator-search-submit" />
[/list]
</fieldset>
</form>
</div>
<table id="list-all" cellpadding="0" cellspacing="1">
<thead>
<tr>
<th>Id</th>
<th>Name</th>
<th>Surname</th>
<th>Username</th>
<th>Email</th>
<th>Logged</th>
<th>Group</th>
<th colspan="2" class="no-sortable">Actions</th>
</tr>
</thead>
<tbody id="the-list">
<tr id="operator-78" class="odd">
<td>78</td>
<td>ggggggggup</td><td>ffffffffffffffg</td>
<td>operator_78</td>
<td>dddf@ll.it</td>
<td>2008-07-31 19:12:25</td><td>adsl</td>
<td>[url="/admin/operators/update/78/"][img]/admin/images/update.gif[/img][/url]</td>
<td>[url="/admin/operators/delete/78/"][img]/admin/images/delete.png[/img][/url]</td>
</tr>
<tr id="operator-77" class="even">
<td>77</td>
<td>jjjjjjjj</td>
<td>hhhhhhhh</td>
<td>operator_77</td>
<td>eeeeee@kkk.it</td>
<td>2008-07-31 19:11:06</td>
<td>fonia</td>
<td>[url="/admin/operators/update/77/"][img]/admin/images/update.gif[/img][/url]</td>
<td>[url="/admin/operators/delete/77/"][img]/admin/images/delete.png[/img][/url]</td>
</tr>
</tbody>
</table>
</div>
<div id="footer"><h3>© Troubleticket powered by Whisher</h3></div>
</div>
</body>
</html>