
PK 
<?php
session_start();
require_once 'common/common.php';
require_once 'common/secure.php';
include "connexion.php";
include "head.php";
/*
$sql="SELECT certypo FROM certificate WHERE certificateno='$_GET[id]'";
$result=mysql_query($sql) or die('error in fetching');
while($row=mysql_fetch_array($result))
{
$certifi="{$row['certypo']}";
}
*/
$certifi = $_GET['ctype'];
//echo $certifi;
if ($certifi == 'ALP') {
include "update/alp.php";
} elseif ($certifi == 'AQIS') {
include "update/aqis.php";
} elseif ($certifi == 'PPQ') {
include "update/ppq.php";
} elseif ($certifi == 'AUS') {
include "update/aus.php";
} elseif ($certifi == 'NSPM') {
include "update/nspm.php";
}elseif ($certifi == 'AUSNEW') {
include "update/aus_new.php";
} else {
echo "<p align=center>PLEASE SELECT A CLIENT FIRST TO START ISSUING A CERTIFICATE TO,<BR><BR> <a href=certificate.php>Click here to start again!</a></p>";
}
include "foot.php";


PK 99