示例#1
0
    }
}
?>
</head>
<body>

  <h1><span></span>Inform Communications Plc</h1>
<?php 
/*<img src="https://secure.latestinfo.co.uk/shared/corporate/images/inform_banner_1024x60_faded.png" width="1024" height="60" alt="Inform Communications Plc" /></h1>*/
?>

<?php 
$baseserver = '192.168.1.106';
//$baseserver='192.168.1.209';
include "agent_info.php";
$banner_agent = agent_info();
?>
<div id="navtop">
   <ul class="breadcrumbs">
      <li class="first_crumb"><a href="http://intranet.inform/">Intranet Home</a><div style="float:right;"><?php 
echo $banner_agent['agentname'];
?>
</div></li>
   </ul>
</div>

  <div id="content">

<!-- AGENT GROUPS
<?php 
echo $banner_agent['agentgrp'];
示例#2
0
<?php

//require_once "agent_info.php";
$banner_agent = function_exists('agent_inform') ? agent_inform() : agent_info();
echo "<table width=100% bgcolor=black>";
echo "<tr>";
echo "<td align=right>";
echo "<font face=arial color=white size=-1><b>{$banner_agent['agentname']}</b></font>";
echo "</td>";
echo "</tr>";
echo "</table>";
示例#3
0
<?php

$page_title = $page_p = 'Inform Communications Intranet';
require_once '../../../includes/password_gen/password_gen.php';
include '../includes/connect_idb.php';
include '../includes/header.php';
require_once "./techshare.php";
//require_once "../includes/agent_info.php";
//require_once "../includes/agent_banner.php";
$agentdet = agent_info();
$agentinit = $agentdet['agentinit'];
$agentlogin = $agentdet['agentlogin'];
$agentalias = $agentdet['loginalias'];
//mysql_connect(localhost,$username,$password);
//@mysql_select_db('system') or die( "Unable to select database");
//$db_con
#!/usr/bin/php
//echo "HI<br>\n";
$limitclause = agent_ingroup('S') ? '' : " AND agentinit='{$agentinit}'";
$query = "SELECT * FROM agent WHERE (LENGTH(agentlogin)>5 OR LENGTH(loginalias)>5) AND NOW() BETWEEN agentfrom AND agentto {$limitclause} ORDER BY agentname";
//echo $query;
$result = mysqli_query($db_con, $query);
$num = mysqli_num_rows($result);
$lastservice = $lasttitle = '';
echo "<table><tr><th>Name</th><th>Login</th><th>Password</th><th>2014 Password</th></tr>";
for ($i = 0; $i < $num; ++$i) {
    $row = mysqli_fetch_array($result);
    if (strlen($passname = $row['agentlogin']) < 6) {
        $passname = $row['loginalias'];
    }
    /*	if ($lastservice!=$service) {