// ENTER CAID, CAMPN, and Analyst WITHIN THE QUOTES IN THE FOLLOWING 2 LINES ...
$caid=""; // e.g. $caid = "90";
$campn=""; // e.g. $campn = "D2" or $campn = "Q";
$analyst=""; // e.g. $analyst="D. Kelly";
// YOU CAN SKIP DOWN TO THE OUTCOME SECTION NOW.
include ("IOC_connect.php"); // this line isn't for you
include ("IOC_log_fns.php"); // this line isn't for you
$db = ioc_db_connect();
$query="select * from ioc_tasks where camp_crnt = '$campn' and caid = $caid limit 1";
$result = mysql_query($query);
if (mysql_num_rows($result) != 1) {
echo "
Contact Stansberry - ";
echo " there is a problem w/ your write-up.
\n";
return ;
}
$row = mysql_fetch_array($result);
$title = $row["title"];
$princ = $row["principal"];
$deputy= $row["deputy"];
$campn0 = $row["campn0"];
// get real name of principal, deputies
$princ = ioc_get_person($princ);
$princ = $princ[0];
$deps = explode(",",$deputy);
foreach ($deps as $depty) {
$depty = trim($depty);
$depty = ioc_get_person($depty);
$depty = $depty[0];
$depty = explode(",",$depty);
$depty = $depty[0]; // last names only
$deplist[] = $depty;
}
$deplist = implode(", ", $deplist);
$caid = sprintf("%03d",$caid);
$file = "mips-".$caid.$campn.".analysis.php";
// END PHP.
?>
echo "MIPS-$caid, Campaign $campn IOC/SV Analysis"; ?>
if (file_exists("master_header.php")) { include ("master_header.php");} ?>
echo "MIPS-$caid, Campaign $campn IOC/SV Analysis"; ?>
echo "$title \n"; ?>
Principal:
Deputy:
Analyst:
AORKEYS: if (! $aorkeys) {echo "unknown";} else { echo $aorkeys;}?>
Last Updated:
if (file_exists($file)) {echo date("D M d Y, H:i:s", filemtime($file) ) ;} ?>
if (file_exists("analysis_header.php")) { include ("analysis_header.php");} ?>
Task Outcome Summary
- DATA STATUS:
- TASK OUTCOME:
Abstract
Analysis
Results
Conclusions
Output and Deliverable Products
Actions Following Analysis