Esempio n. 1
0
        ?>
  </legend>
  <br>
  <div id='saved_reps'>
    <form id="saved_reps_form" accept-charset="utf-8">
      <div class = 'select'>
<?php 
        $order_by = "rep_timestamp";
        $order_type = "DESC";
        if (!empty($_REQUEST['order_by'])) {
            $order_by = $_REQUEST['order_by'];
        }
        if (!empty($_REQUEST['order_type'])) {
            $order_type = $_REQUEST['order_type'];
        }
        echo build_saved_reps_table($order_by, $order_type, $req_user, "userinfo.php?user={$req_user}&", $num_rows, false);
        printf("      <p class='label'>" . ngettext("%d public repertorization", "%d public repertorizations", $num_rows) . "</p>\n", $num_rows);
        ?>
        <div class="button_area_2">  
          <input class="submit" type="button" onclick='repCall(-1)' value=" <?php 
        echo _("Show repertorization");
        ?>
 ">
          <br>
          <br>
          <input class="submit" type="button" onclick='repContinue(-1)' value=" <?php 
        echo _("Add more symptoms");
        ?>
 ">
        </div>
      </div>
Esempio n. 2
0
} else {
    $tab = 1;
}
?>
    <form id="saved_reps_form" accept-charset="utf-8">
      <div class = 'select'>
<?php 
$order_by = "rep_timestamp";
$order_type = "DESC";
if (!empty($_REQUEST['order_by'])) {
    $order_by = $_REQUEST['order_by'];
}
if (!empty($_REQUEST['order_type'])) {
    $order_type = $_REQUEST['order_type'];
}
echo build_saved_reps_table($order_by, $order_type, $username, $user_url, $num_reps);
printf("      <p class='label'>" . ngettext("%d saved repertorization", "%d saved repertorizations", $num_reps) . "</p>\n", $num_reps);
?>
        <div class="button_area_2">  
          <input class="submit" type="button" onclick='repCall(<?php 
echo $tab;
?>
)' value=" <?php 
echo _("Show repertorization");
?>
 ">
          <br>
          <br>
<?php 
if ($tab == 1) {
    $tab = 0;