<td width="100%"> <img src="pacientes/img/pacientes.png" alt="<?php echo $LANG['patients']['manage_patients']; ?> "> <span class="h3"><?php echo $LANG['patients']['manage_patients']; ?> [<?php echo $strLoCase; ?> ] </span></td> </tr> </table> <div class="conteudo" id="table dados"> <br /> <?php phpinclude('submenu.php'); ?> <br> <table width="610" border="0" align="center" cellpadding="0" cellspacing="0" class="tabela_titulo"> <tr> <td height="26"> <?php echo $LANG['patients']['radiograph']; ?> </td> </tr> </table> <table width="610" border="0" align="center" cellpadding="0" cellspacing="0" class="tabela"> <tr> <td> <br />
<div class="droite"> <?php ?> <?phpinclude ("includes/contents/news.php");?> </div> <div class="gauche"> <?php include "includes/contents/main/accueil_unlogged.php"; ?> </div>
<?php phpinclude('inc/search-meta.inc.php'); ?> <h2>Author search</h2> <ul> <?php foreach ($drPublishApiClientSearchList as $drPublishApiClientAuthor) { ?> <li> <strong><?php print $drPublishApiClientAuthor->getFullName(); ?> </strong> [id=<?php print $drPublishApiClientAuthor->getId(); ?> , username=<?php print $drPublishApiClientAuthor->getUserName(); ?> ] [id=<?php print $drPublishApiClientAuthor->getId(); ?> , username=<?php print $drPublishApiClientAuthor->getUserName(); ?> ] </li> <?php }
<html><head><title>xmlrpc</title></head><body><h1>Agesort demo</h1><h2>Send an array of 'name' => 'age' pairs to the server that will send it back sorted.</h2><h3>The source code demonstrates basic lib usage, including handling of xmlrpc arrays and structs</h3><p></p><?php phpinclude("xmlrpc.inc"); $inAr = array("Dave" => 24, "Edd" => 45, "Joe" => 37, "Fred" => 27); reset($inAr); print "This is the input data:<br/><pre>"; while (list($key, $val) = each($inAr)) { print $key . ", " . $val . "\n"; } print "</pre>"; // create parameters from the input array: an xmlrpc array of xmlrpc structs$p=array();foreach($inAr as $key => $val) { $p[]=new xmlrpcval(array("name" => new xmlrpcval($key), "age" => new xmlrpcval($val, "int")), "struct");}$v=new xmlrpcval($p, "array");print "Encoded into xmlrpc format it looks like this: <pre>\n" . htmlentities($v->serialize()). "</pre>\n";// create client and message objects$f=new xmlrpcmsg('examples.sortByAge', array($v));$c=new xmlrpc_client("/server.php", "phpxmlrpc.sourceforge.net", 80);// set maximum debug level, to have the complete communication printed to screen$c->setDebug(2);// send requestprint "Now sending request (detailed debug info follows)";$r=&$c->send($f);// check response for errors, and take appropriate actionif (!$r->faultCode()) { print "The server gave me these results:<pre>"; $v=$r->value(); $max=$v->arraysize(); for($i=0; $i<$max; $i++) { $rec=$v->arraymem($i); $n=$rec->structmem("name"); $a=$rec->structmem("age"); print htmlspecialchars($n->scalarval()) . ", " . htmlspecialchars($a->scalarval()) . "\n"; } print "<hr/>For nerds: I got this value back<br/><pre>" . htmlentities($r->serialize()). "</pre><hr/>\n";} else { print "An error occurred:<pre>"; print "Code: " . htmlspecialchars($r->faultCode()) . "\nReason: '" . htmlspecialchars($r->faultString()).'\'</pre><hr/>';} ?> <em>$Id: agesort.php 2 2009-03-16 20:22:51Z ggiunta $</em></body></html>
<?php phpinclude('connect.php'); session_start(); $userid = $_POST['txtuserid']; $adminid = $_POST['txtuserid']; $date = $_POST['txtdate']; $contact = $_POST['txtcontact']; $empid = $_POST['txtuserid']; $pass = $_POST['txtpassword']; $s = mysql_query("select * from student where student_id ='{$userid}' && lastname = '{$pass}' && birthday ='{$date}'"); $sa = mysql_query("select * from student where lastname ='{$pass}'"); $s1 = mysql_query("select * from employee where empid ='{$empid}' && contact = '{$contact}' && birthday ='{$date}'"); $s1a = mysql_query("select * from employee where emp_pass ='******'"); $s2 = mysql_query("select * from admin where admin_id ='{$userid}' AND email = '{$contact}'"); $s2a = mysql_query("select * from admin where admin_pass ='******'"); $r = mysql_num_rows($s); $ra = mysql_num_rows($sa); $r1 = mysql_num_rows($s1); $r1a = mysql_num_rows($s1a); $r2 = mysql_num_rows($s2); $r2a = mysql_num_rows($s2a); if ($r2 == 1) { while ($row = mysql_fetch_assoc($s2)) { $studno = $row['admin_id']; $_SESSION['admin_id'] = $userid; $info = mysql_query("select * from admin where admin_id='{$userid}'"); while ($r = mysql_fetch_assoc($info)) { $adminp = $r['admin_pass']; } echo $adminp;