Esempio n. 1
0
function InitPage($bool_head,$TitreHT="",$chemsup="") {
	DBDRH_connect();
	sess_start();
	include ("globvar.inc");
	if ($bool_head) { ?>
	<html>
	<head>
		<title><?php 
echo $TitreHT;
?>
</title>
		<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
		<link href="<?php 
echo $chemsup;
?>
../../intranet/partage/css/styles.css" rel="stylesheet" type="text/css">
		<link href="<?php 
echo $chemsup;
?>
drh.css" rel="stylesheet" type="text/css">
	</head>
	<body>
	<? } // fin d'envoi des header HTML
	if ($debug) DispDebug();
}
Esempio n. 2
0
$select="PERS_EXT.*,SOCIETE.*";
$from="PERS_EXT LEFT JOIN SOCIETE ON PEX_COSOCIE=SOC_NUSOCIE";
$where=($where_per=="" ? "" : "where ".$where_per);

$orderb="ORDER BY PEX_LLNOMPERS";

$result=msq("SELECT 1 FROM $from $where $orderb");
// on compte le nombre de ligne renvoyées par la requête
$nbrows=mysql_num_rows($result);

if ($debug) {
echo "<H1>Nbre $nbrows</H1>";
	echovar("where");
	echovar("select");
	echovar("from");
	DispDebug();
	}
	?>
<table width="300" border="0">
<tr><td align="center" colspan="2">
<a name="haut"></a>
<span class="TRM"><?php 
echo $ss_prmev[title];
?>
</span>
<? EchoTitIm1("RESULTAT"); ?>
<?
// On affiche le resultat
if ($nbrows==0)// Si nbrésultat = 0
    {
    ?>
Esempio n. 3
0
	text-align:center;
	font-weight: bold;
	line-height: 13px; 
	font-size:10px;
	color: #FFFFFF;
	padding-bottom: 2px;
	padding-left: 5px;
	padding-right: 5px;
	padding-top: 2px}

</style>				
<body id="bgr">
<div id="fond">
	<table border="0" cellpadding="0" cellspacing="1" width="600">
		<tr>
			<td align="center" valign="middle" bgcolor="white"><? if ($debug) 	DispDebug();?>
<img src="../images/fond_accueil4_vm3.jpg"></td>
		</tr>
	</table>
</div>

<div id="modules" align="left">
		<form action="rcf_rech.php" name="theform" method="post">
<table width="780" border="0" align="left" cellpadding="0" cellspacing="0">
	<tr>
		<td width="230" align="center" valign="top"><? EchoTitIm1(nbsp(7)."Recherche Libre".nbsp(7),"_b");?>
		<table width="210" align="center" style="color: #990033">
		<?
 	$ss_prmev[ro]="C"; // consultation par défaut
	$ss_prmev[typers]="I"; // I (interne sans infos DRH)
	session_register("ss_prmev");