Location: PHPKode > projects > SHINE Live Help > shine-1.1.0/data.php
<?php
//===========================================================================
//* --    ~~               Shine Live Help                ~~    -- *
//===========================================================================
//           URL:   http://www.iradeon.com/shine.html    EMAIL: hide@address.com
//         Copyright (C) 2006 iRadeon Group Inc. (http://www.iradeon.com )
//             Shine is a derivative of Crafty Syntax Live Help,
//                     copyright (C) Eric Gerdes 2003--2006
// --------------------------------------------------------------------------
// LICENSE:
//     This program is free software; you can redistribute it and/or
//     modify it under the terms of the GNU General Public License
//     as published by the Free Software Foundation; 
//     This program is distributed in the hope that it will be useful,
//     but WITHOUT ANY WARRANTY; without even the implied warranty of
//     MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
//     GNU General Public License for more details.
//
//     You should have received a copy of the GNU General Public License
//     along with this program in a file named LICENSE.txt .
// --------------------------------------------------------------------------  
require_once("admin_common.php");
require_once("data_functions.php");
require_once("ctabbox.php");
require_once("gc.php");

validate_session($identity);

if(empty($UNTRUSTED['tab'])) $UNTRUSTED['tab'] = 0;
 
?>
<link title="new" rel="stylesheet" href="style.css" type="text/css">
<meta http-equiv="Content-Type" content="text/html; charset=<?php echo $lang['charset']; ?>" >
<script>
function goto_add_xscript(num)
{ 
    var rand = Math.floor(Math.random()*1000);
    window.open( '', 'add_xscript_window' + rand, 'width=550,height=400,scrollbars=1,resizable=1' );
    document.getElementById('crm_add_xscript_form' + num).setAttribute('target','add_xscript_window' + rand);
    document.getElementById('crm_add_xscript_form' + num).submit();
} 
</script>

<?php

print '<table><tr><td>&nbsp;</td><td>';  
$tabBox = new CTabBox( "?a=b", "", $UNTRUSTED['tab'] );
$tabBox->add('data_transcripts', $lang['transcripts']);
$tabBox->add('data_messages', $lang['messages']);
$tabBox->add('data_referers', $lang['referers']);
$tabBox->add('data_visits', $lang['txt35']);
$tabBox->add('data_paths', "Paths");
$tabBox->add('data_keywords', 'Keywords');
$tabBox->add('data_users', $lang['users']);
if ($isadminsetting=="Y" ) { 
 $tabBox->add('data_clean', $lang['clean']);
}
$tabBox->show();

print '</td></tr></table><br><br>';  


$mydatabase->close_connect();

?>
<pre>





</pre>
<center>

<font size=-2>

<!-- Note if you remove this line you will be violating the license even if you have modified the program -->

Shine Live Help &copy; 2006 by <a href="http://www.iradeon.com/shine.html">iRadeon Group Inc</a>. Shine is a
<br>
derivative of Crafty Syntax Live Help &copy; 2003&#8211;2006 by <a target="_blank" href="http://www.craftysyntax.com/EricGerdes/">Eric Gerdes</a>.
<br>
Shine is software released under the <a href=http://www.gnu.org/copyleft/gpl.html target=_blank>GNU/GPL license</a>

</font>
</center>
Return current item: SHINE Live Help