Source for file det.php
Documentation is available at det.php
* @package linea21.modules
* @author linea21 <info@linea21.com>
* @license http://opensource.org/licenses/gpl-3.0.html
//////////// Check Inclusion de pages ////////////
include_once("../lib/lib_common.php");
if(!isset ($_GET['id']) && !isset ($_POST['id'])) {
if(isset ($_POST['id'])) $id= $_POST['id'];
if(isset ($_GET['id'])) $id= $_GET['id'];
//$result_sdii=$sdi_object->GetInfoSdi($id, $sql_object);
$result_sdii = $sql_object -> DBSelect($req_sdii);
$result_r = $sql_object -> DBSelect($req_sdir);
$result_e = $sql_object -> DBSelect($req_sdie);
$result_p = $sql_object -> DBSelect($req_sdip);
//$result_e=$sdi_object->GetEvaluation( $id, $sql_object, $ID=-1);
//$result_p=$sdi_object->GetProvider( $id, $sql_object, $ID=-1);
//$result_r=$sdi_object->GetRules( $id, $sql_object, $ID=-1);
$link_det= $rub_link. "&todo=det&id=";
$link_det_theme= "index.php?rub=theme&todo=det&id=";
$link_sup= $rub_link. "&todo=sup&id=";
$link_mod= $rub_link. "&todo=mod&id=";
$link_mod_e= $rub_link. "&todo=mod_e&id=";
$link_mod_r= $rub_link. "&todo=mod_r&id=";
$link_mod_p= $rub_link. "&todo=mod_p&id=";
$navtitle= _t('sdi','det'). " : ". $result_sdii[0]['sdii_name'];
<li><a href="index.php" class="chemin_home"> <?php echo _t('way','home') ?></a></li>
<li><a href=" <?php echo $rub_link; ?>" id="chemin_ <?php echo $rub; ?>" class="chemin_rub"> <?php echo _t('menu','sdi')?></a></li>
<li><span> <?php echo formatnavTitle($navtitle);?></span></li>
include_once(THEME_ADMIN_PATH. "quickicons.php");
<div class="contentcontainer">
include_once($dir. "/menurub.php");
<h2> <?php echo formatTitleh2($result_sdii[0]['sdii_name']);?></h2>
<?php echo "<a href=\"". $link_sup. $id. "\" title=\"". _t('sdi','sup'). "\" class=\"ico_sup2\">";?></a>
<?php echo "<a href=\"". $link_mod. $id. "\" title=\"". _t('sdi','mod'). "\" class=\"ico_mod2\">";?></a>
<dt> <?php echo _t('sdi','theme') ?> :</dt>
<dd> <?php echo "<a href=\"". $link_det_theme. $result_sdii[0]['sdii_theme']. "\" title=\"". formatText($result_sdii[0]['theme_name'], '2HTML'). "\">". formatText($result_sdii[0]['theme_name'], '2HTML'). "</a></dd>"; ?>
<dt> <?php echo _t('sdi','name2') ?> :</dt>
<dd> <?php echo formatText($result_sdii[0]['sdii_name'], '2HTML');?></dd>
<?php /*<dt><?php echo _t('sdi','range') ?> : </dt>
<dd><?php echo formatText($result_sdii[0]['sdii_range'], '2HTML');?></dd> */ ?>
<dt> <?php echo _t('sdi','description') ?> :</dt>
<dt> <?php echo _t('sdi','comment') ?> :</dt>
<dt> <?php echo _t('sdi','goal') ?> :</dt>
<dt> <?php echo _t('sdi','consulting') ?> :</dt>
<dt> <?php echo _t('divers','statut') ?> :</dt>
<dt> <?php echo _t('sdi','threshold_relative') ?> :</dt>
if ($result_sdii[0]['sdii_threshold_relative']== 'Y') echo _t('sdi','threshold_relative_Y');
else echo _t('sdi','threshold_relative_N');
<h2> <?php echo _t('sdi','info_mesure'); ?></h2>
<table cellspacing="0" cellpadding="3">
echo "<td>". _t('sdi','max_value'). " (". $result_sdii[0]['sdii_unit']. ")". "</td>\n";
echo "<td>". _t('sdi','min_value'). " (". $result_sdii[0]['sdii_unit']. ")". "</td>\n";
echo "<td>". _t('sdi','threshold_value'). " (". $result_sdii[0]['sdii_unit']. ")". "</td>\n";
echo "<td>". _t('sdi','frequency'). "</td>\n";
echo "<td>". $result_sdii[0]['sdii_max_value']. "</td>\n";
echo "<td>". $result_sdii[0]['sdii_min_value']. "</td>\n";
echo "<td>". $result_sdii[0]['sdii_threshold_value']. "</td>\n";
echo "<td>". $result_sdii[0]['sdii_frequency']. "</td>\n";
<div class="sdi_det"><a name="affprovider" id="affprovider"
style="display: none;"></a> <a href="#affprovider"
onclick="$('#provider').slideToggle();"
title=" <?echo _t('sdi','aff_sdi_p');?>"> <?echo _t('sdi','aff_sdi_p');?></a>
<div id="provider" style="display: none;"> <?php if ($result_p[0]['sdip_name']== "") {
echo "<h2 class=\"info\">". _t('sdi','noresultp'). "</h2>"
?> <?php echo "<a href=\"". $link_mod_p. $id. "\" title=\"". _t('sdi','modify_sdi_p'). "\" class=\"ico_mod2\">";?></a>
<?php echo "<a href=\"". $link_mod_p. $id. "\" title=\"". _t('sdi','modify_sdi_p'). "\" class=\"ico_mod2\">";?></a>
<dt> <?php echo _t('sdi','p_service') ?> :</dt>
<dt> <?php echo _t('sdi','p_incharge') ?> :</dt>
<dt> <?php echo _t('sdi','p_address') ?> :</dt>
<dt> <?php echo _t('sdi','p_phone') ?> :</dt>
<dt> <?php echo _t('sdi','p_fax') ?> :</dt>
<dt> <?php echo _t('sdi','p_email') ?> :</dt>
<dd> <?php echo "<a href=\"mailto:". $result_p[0]['sdip_email']. "\" title=\"". formatText($result_p[0]['sdip_email'], '2HTML'). "\" >". formatText($result_p[0]['sdip_email'], '2HTML'). "</a>"; ?></dd>
<dt> <?php echo _t('sdi','p_description') ?> :</dt>
<div class="sdi_det"><a name="affeval" id="affeval"
style="display: none;"></a> <a href="#affeval"
onclick="$('#evaluation').slideToggle();"
title=" <?echo _t('sdi','aff_sdi_e');?>"> <?echo _t('sdi','aff_sdi_e');?></a>
<div id="evaluation" style="display: none;"><br class="brendstep" />
<?php echo "<a href=\"". $link_mod_e. $id. "\" title=\"". _t('sdi','modify_sdi_e'). "\" class=\"ico_mod2\">";?></a>
<table cellspacing="0" cellpadding="3">
echo "<td>". _t('sdi','e_scale_compare'). "</td>\n";
echo "<td>". _t('sdi','e_fiability'). "</td>\n";
echo "<td>". _t('sdi','e_accessibility'). "</td>\n";
echo "<td>". _t('sdi','e_lisibility'). "</td>\n";
echo "<td>". _t('sdi','e_relevance'). "</td>\n";
echo "<td>". _t('sdi','e_global_performance'). "</td>\n";
echo "<td>". $result_e[0]['sdie_scale_compare']. "</td>\n";
echo "<td>". $result_e[0]['sdie_fiability']. "</td>\n";
echo "<td>". $result_e[0]['sdie_accessibility']. "</td>\n";
echo "<td>". $result_e[0]['sdie_lisibility']. "</td>\n";
echo "<td>". $result_e[0]['sdie_relevance']. "</td>\n";
echo "<td>". $result_e[0]['sdie_global_performance']. "</td>\n";
<div class="sdi_det"><a name="affreg" id="affreg" style="display: none;"></a>
<a href="#affreg" onclick="$('#reglementation').slideToggle();"
title=" <?echo _t('sdi','aff_sdi_r');?>"> <?echo _t('sdi','aff_sdi_r');?></a>
<div id="reglementation" style="display: none;"> <?php if ($result_r[0]['sdir_title']== "") {
echo "<h2 class=\"info\">". _t('sdi','noresultr'). "</h2>"
?> <?php echo "<a href=\"". $link_mod_r. $id. "\" title=\"". _t('sdi','modify_sdi_r'). "\" class=\"ico_mod2\">";?></a>
<?php echo "<a href=\"". $link_mod_r. $id. "\" title=\"". _t('sdi','modify_sdi_r'). "\" class=\"ico_mod2\">";?></a>
<dt> <?php echo _t('sdi','r_referer_uri') ?> :</dt>
if ($result_r[0]['sdir_referer_uri']<> "") echo "<dd><a href=\"". formatText($result_r[0]['sdir_referer_uri'], '2HTML'). "\" title=\"". empty_nc(formatText($result_r[0]['sdir_mask_uri'], '2ATT')). "\" >". empty_nc(formatText($result_r[0]['sdir_mask_uri'], '2HTML')). "</a></dd>";
<?php } ?> <br class="brendstep" />
<?php include_once($dir. "/help.php"); ?>
|