예제 #1
-1
<?php

require_once 'auth.php';
require_once 'config.php';
require_once 'scripts.php';
$modules = array('tabs', 'mass_tickets', 'search');
?>
<!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">
 <head>
   <title>BugBase| Home</title>
	<?php 
onload($modules);
?>
 </head>
 
<body>

<div id="container">
	<?php 
top();
/* get the top area with name, logo, pref etc... */
tabs();
/* make those tabs, tickets is always the wild card though */
?>
	<div id="tickets">
		<?php 
require_once 'config.php';
$link = mysql_connect(DB_HOST, DB_USER, DB_PASS) or die("Blibber bobber");
mysql_select_db(DB_NAME) or die("db blobber");
panel();
예제 #2
-1
    $row = mysql_fetch_assoc($res);
    $row['firstname'] = "-- unassigned --";
    $row['lastname'] = "";
}
$isClosed = $row['status'] == 'closed';
?>

<!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">
 <head>
   <title>BugBase| Ticket #<?php 
echo $row['ticketID'];
?>
</title>
	<?php 
onload($modules, $ticket_id);
?>
 </head>
 
<body>
<div id="notice" title="Notice">
	<p id="notice_content"></p>
</div>
<div id="container">
	<?php 
top();
/* get the top area with name, logo, pref etc... */
tabs();
/* make those tabs, tickets is always the wild card though */
?>
	<div id="tickets">