Exemple #1
0
//session_start();
//extract($_POST);
//include("../../includes/db.php");
//include("../../includes/functions.php");
$idp= $_GET["idp"];
$idu = $_GET["idu"];
//echo "-----------". $idp . "-----------";
$query = "select examination,assestments,suggested,iddoctor,updated from cruise_patient where
						id=".$idu."";
//echo $query;
$sqlex = mysql_query($query); 
$rowex = mysql_fetch_array($sqlex,MYSQL_ASSOC);
if($rowex["iddoctor"]!="0")
{

$formatreg = ObtenerMes(substr($rowex["updated"],5,2))."/".substr($rowex["updated"],8,2)."/".substr($rowex["updated"],0,4)." at ".substr($rowex["updated"],11,5);				
?>
<!--
  <span class="bglbl">
  <span class="lbl_1">examination:</span>
    <span class="lbl_2"><?php echo $rowex["examination"]; ?></span>
  </span>
    <span class="clear_line">&nbsp;</span>
    
	    <span class="lbl_1">assestments / diagnoses:</span>
        <span class="lbl_2"><?php echo $rowex["assestments"]; ?></span>
    <span class="clear_line">&nbsp;</span>
    

    <span class="bglbl">
    <span class="lbl_1">suggested treatment:</span>
Exemple #2
0
</span>
    <span class="clear_line">&nbsp;</span>
    
	<span class="bglbl">
        <span class="lbl_1">distribution:<br> (total body/diffuse, scalp, head-neck, trunk, extremities, hands and/or feet, genitalia/mucous membranes)</span>
        <span class="lbl_2"><?php 
echo $rowult["distribution"];
?>
</span>
    </span>
    <span class="clear_line">&nbsp;</span>
    <?php 
//datos de doctor
$sqldoc = mysql_query("select suffix,name,lastname from doctor where id=" . $rowp["doctorid"] . "");
$rowdoc = mysql_fetch_array($sqldoc);
$formatreg = ObtenerMes(substr($rowp["registered"], 5, 2)) . "/" . substr($rowp["registered"], 8, 2) . "/" . substr($rowp["registered"], 0, 4) . " at " . substr($rowp["registered"], 11, 5);
mysql_free_result($sqldoc);
?>
     
     
    <span class="lbl_1">comment on ship #1:</span>
    <span class="lbl_2"><?php 
echo str_replace("\n", "<br>", $rowult["comment2"]);
?>
</span>
    <span class="clear_line">&nbsp;</span>
     
    <span class="lbl_1">&nbsp;</span>
    <span class="lbl_2"><img src="imgs/dr.png" border="0" style="vertical-align:text-bottom;"> <strong><?php 
echo $rowdoc["suffix"];
?>