echo $msg->_('/first-run/initial-setup');
?>
</title>
    <?php 
include_headers();
?>
    <link href="/static/css/first-run.css" rel="stylesheet">
  </head>
  <body>
    <div class="container">
      <p class="text-center">
        <?php 
echo $msg->_('/first-run/create-manager-help');
?>
      </p>
      <?php 
include 'newmanagerform.html.php';
if (isset($GLOBALS['newmanagererror'])) {
    ?>
        <div style="color:red">
          <?php 
    htmlout($GLOBALS['newmanagererror']);
    ?>
        </div>
      <?php 
}
?>
    </div>
  </body>
</html>
Example #2
0
                        <div>
                            <input type="hidden" name="action" value="download">
                            <input type="hidden" name="id" value="<?php 
        htmlout($file['id']);
        ?>
">
                            <input type="submit" value="Download">
                        </div>
                    </form>
                </td>
                <td>
                    <form action="" method="post">
                        <div>
                            <input type="hidden" name="action" value="delete">
                            <input type="hidden" name="id" value="<?php 
        htmlout($file['id']);
        ?>
">
                            <input type="submit" value="Delete">
                        </div>
                    </form>
                </td>
            </tr>
            <?php 
    }
    ?>
        </tbody>
    </table>
    <?php 
}
?>
Example #3
0
            ?>
'" onMouseOut="this.style.background='<?php 
            echo $outbg;
            ?>
'">
          <td height="35" style="border-bottom:#E9E8E8 1px solid;padding-left:5px;"><font color="#999999"><?php 
            echo date_format2($rows['stime'], '%Y-%m-%d');
            ?>
</font> <a href="<?php 
            echo $Global['home_2domain'];
            ?>
/diary<?php 
            echo $rows['id'];
            ?>
.html" class=333333 target="_blank"><?php 
            echo htmlout(stripslashes($rows['title']));
            ?>
</a><?php 
            if ($rows['flag'] == 0) {
                echo " <font color=red>未审</font>";
            }
            if ($rows['diaryopen'] == 0) {
                echo " <img src=images/m.gif title='密'>";
            }
            if ($rows['ifjh'] == 1) {
                echo " <img src=images/jh.gif title='精华'>";
            }
            ?>
</td>
          <td align="center" style="border-bottom:#E9E8E8 1px solid;"><font color="#FF0000"><?php 
            echo $rows['hfnum'];
<div class="container-fluid">
    <h2>Log In</h2>
    <p>Please log in to view the page that you requested.</p>
    <?php 
if (isset($loginError)) {
    ?>
      <p><?php 
    htmlout($loginError);
    ?>
</p>
    <?php 
}
?>
    <form action="" method="post">
      <div>
        <label for="email">Username: <input type="text" name="username"
            id="email"></label>
      </div>
      <div>
        <label for="password">Password: <input type="password"
            name="password" id="password"></label>
      </div>
      <div>
        <input type="hidden" name="action" value="login">
        <input type="submit" value="Log in">
      </div>
    </form>
    <p><a href="#">Return to CyberCPR Helpdesk Home</a></p>
</div>

Example #5
0
foreach ($types as $type) {
    ?>
							<option name="type" value="<?php 
    htmlout($type['id']);
    ?>
" <?php 
    if ($type['id'] == $typeid) {
        echo 'selected="selected"';
    }
    ?>
><?php 
    htmlout($type['type']);
    ?>
</option>
						<?php 
}
?>
					</select>
				</div>
				<div><input type="submit" name="<?php 
htmlout($action);
?>
" value="<?php 
htmlout($button);
?>
"></div>
				<div><input type="submit" name="cancel" value="Cancel"></div>
			</form>
		</div>
	</body>
</html>
Example #6
0
          <div class="form-group centre">
            <input type="submit" class="btn btn-secondary"
              value="<?php 
htmlout($msg->_('forgot-password'));
?>
"
            />
          </div>
        </form>
      </div>

    <script>
    "use strict";

    /* global BootstrapDialog */

      function showConnectionErrorMessage(timeout) {
          var m = "<?php 
htmlout($msg->_('/showmsg/connection-error'));
?>
";
          BootstrapDialog.show({
            'title': '',
            'message': m,
            'type': BootstrapDialog.TYPE_DANGER
          });
        }
    </script>
  </body>
</html>
Example #7
0
        $id = $rows[0];
        $title = $rows[1];
        $bmnum = $rows[2];
        $jjloveb = $rows[3];
        $did = $id * 7 + 8848;
        if ($jjloveb > 0) {
            $href = '../bidderdating' . $did . '.html';
        } else {
            $href = $Global['home_2domain'] . "/dating{$id}.html";
        }
        ?>
<img src="images/groupren.gif" hspace="5" vspace="10" align="absmiddle" /><a href="<?php 
        echo $href;
        ?>
" target="_blank" style="font-size:14px;font-weight:bold"><?php 
        echo htmlout(stripslashes($title));
        ?>
</a> (<font color=red><?php 
        echo $bmnum;
        ?>
</font>人响应) <a href="<?php 
        echo $href;
        ?>
" target="_blank"><img src="../images/dating_libt.gif" align="absmiddle" /></a><br>
<?php 
    }
    ?>
</td>
</tr>
</table>
<br>
<table class='table'>
    <tr>
        <th>Subject</th><th>Books Checked Out</th>
    </tr>

    <?php 
    foreach ($users2 as $user) {
        ?>
    <tr>
        <td><?php 
        htmlout($user['username']);
        ?>
</td>
        <td><?php 
        htmlout($user['check_num']);
        ?>
</td>
    </tr>
    <?php 
    }
    ?>

</table>

<?php 
}
?>

</body>
</html>
Example #9
0
      <tfoot>
        <tr>
          <td>Total:</td>
          <td>$<?php 
    echo number_format($total, 2);
    ?>
</td>
        </tr>
      </tfoot>
      <tbody>
        <?php 
    foreach ($cart as $item) {
        ?>
          <tr>
            <td><?php 
        htmlout($item['desc']);
        ?>
</td>
            <td>
              $<?php 
        echo number_format($item['price'], 2);
        ?>
            </td>
          </tr>
        <?php 
    }
    ?>
      </tbody>
    </table>
    <?php 
} else {
Example #10
0
    <table>
   <tr><th>Area</th><th>Puesto</th><th>Fuente</th><th></th></tr>
      <?php 
    foreach ($recsini as $recini) {
        ?>
    <tr>
     <td><?php 
        htmlout($recini['area']);
        ?>
</td>
     <td><?php 
        substr(htmlout($recini['nombre']), 0, 40);
        ?>
</td>
     <td><?php 
        substr(htmlout($recini['fuente']), 0, 40);
        ?>
</td>
     <td>  
       <form action="?" method="post" class="enlinea">
        <div>
		  <input type="hidden" name="id" value="<?php 
        echo $recini['id'];
        ?>
">
<!--		  <input type="hidden" name="idot" value="<?php 
        echo $idot;
        ?>
"> -->
		  <input type="hidden" name="accion" value="editarci">
          <input type="submit" name="boton" value="Editar">
                        </select>
                        <button type="submit" value="search_user_log" name="action" title="search user log">search</button>
                    </form>
                    <form class="form-inline" action="?" method="post">
                        <label for="searchby">Search by Event:</label>
                        <select name="searchby" id="searchby">
                        <option value="">Select one</option>
                        <?php 
foreach ($eventlist as $row) {
    ?>
                        <option value="<?php 
    htmlout($row['id']);
    ?>
">
                        <?php 
    htmlout($row['name']);
    ?>
</option>
                        <?php 
}
?>
                        </select>
                        <button type="submit" value="search_event_log" name="action" title="search user log">search</button>
                    </form>
                    <?php 
if (isset($search_result)) {
    echo '<table class="table table-striped">
                            <thead><tr><th>User</th><th>Action</th><th>Event</th><th>Time</th></tr></thead>';
    foreach ($search_result as $row) {
        echo '<tr><td>' . $row['first_name'] . ' ' . $row['last_name'] . '</td><td>' . $row['action'] . '</td><td>' . $row['name'] . '</td><td>' . date("m/d g:i a", strtotime($row['time'])) . '</td></tr>';
    }
Example #12
0
foreach ($items as $item) {
    ?>
                <tr>
                    <td><?php 
    htmlout($item['desc']);
    ?>
</td>
                    <td><?php 
    echo number_format($item['price'], 2);
    ?>
</td>
                    <td>
                        <form action="" method="post">
                            <div>
                                <input type="hidden" name="id" value="<?php 
    htmlout($item['id']);
    ?>
">
                                <input type="submit" name="action" value="Buy">
                            </div>
                        </form>
                    </td>
                </tr>
            <?php 
}
?>
        </tbody>
    </table>

</body>
</html>
			            </div>

			            <div class="form-group">
			              <label for="department" class="col-sm-2 control-label">Dept.</label>
			              <div class="col-sm-3" id="department" align="left">
			              <h5><?php 
htmlout($department);
?>
</h5>
			                
			              </div>
			            
			              <label for="major" class="col-sm-2 control-label">Major</label>
			              <div class="col-sm-3" id="major" align="left">
			              <h5><?php 
htmlout($major);
?>
</h5>
			                
			              </div>
			            </div>

			            <div style="margin:0;padding:0;width:70%;height:1px;
					background-color:#CCCCCC;overflow:hidden;margin-top:15px;"></div><br/>

			            <div class="form-group">
			              <label for="intro" class="col-sm-2 control-label">Intro</label>
			              <div class="col-sm-8" align="left" id="intro">
			                <?php 
echo str_replace("\r\n", "<br>", $intro);
?>
Example #14
0
						</div>
						<div class="item active">
							<div class="panel-body bk-bg-primary">
								<h6 class="bk-margin-off bk-docs-font-weight-300">Next Week <small></small></h6>
							</div>
							<div class="panel-body bk-bg-white text-center bk-padding-top-15 bk-padding-bottom-15">
							</div>
							<div class="panel-body bk-bg-white text-center">
								<h1 class="bk-margin-off-top">
								<?php 
foreach ($work_schedules2 as $work_schedule) {
    weekreader($work_schedule['timedate2']);
    echo "     ";
    htmlout($work_schedule['starttime2']);
    echo "     ";
    htmlout($work_schedule['endtime2']);
    echo "     ";
    echo "<br>";
}
?>
								</h1>
								<!-- <h6 class="bk-docs-font-weight-700 bk-fg-inverse pull-right">RAINY </h6> -->
							</div>
						</div>
					</div>
					<a class="left carousel-control bk-carousel-control bk-carousel-control-white bk-carousel-hide-init" href="#carousel-example-generic3c" role="button" data-slide="prev">
						<span class="fa fa-angle-left icon-prev bk-bg-very-light-gray"></span>
					</a>
					<a class="right carousel-control bk-carousel-control bk-carousel-control-white bk-carousel-hide-init" href="#carousel-example-generic3c" role="button" data-slide="next">
						<span class="fa fa-angle-right icon-next"></span>
					</a>
                    <img src="/img/logo.png" />
                </div>
            </div>
            <div class="row-fluid">
                <div class="span2">
                    <?php 
include '/home/simpleco/demo2/app/includes_html/menu_admin.inc.html.php';
?>
                </div>
                <div class="span10">
                    <h4>Confirm User Deletion</h4>
                    <p>
                        Are you sure you want to delete user "<?php 
htmlout($userinfo['first_name']);
echo ' ';
htmlout($userinfo['last_name']);
?>
"?
                    </p>
                
                    <form action="?" method="post">
                        <input type="hidden" name="id" value="<?php 
echo $userinfo['id'];
?>
">
                        <button class="btn" type="submit" value="delete_user_confirmed" 
                                name="action" title="delete user">delete user</button>
                    </form>
                </div>
            </div>
<!--            <div class="row-fluid">
    echo '<h5>Email These Users</h5><table class="table table-striped"><thead><tr><th>Name</th><th>Email</th></tr></thead>';
}
?>
                            <?php 
foreach ($requesters as $row) {
    ?>

                            <tr>
                                <td class="none"><?php 
    htmlout($row['first_name']);
    echo ' ';
    htmlout($row['last_name']);
    ?>
</td>
                                <td class="none"><?php 
    htmlout($row['email']);
    ?>
</td>
                            </tr>
                            <?php 
}
?>
                            <?php 
if (isset($requesters)) {
    echo '</table>';
}
?>
                            <p></p>
                            <?php 
if (isset($requesters) and !isset($message)) {
    echo '<form action="?" method="post">
?>
                        <tr>
                            <td>Contact:</td>
                            <td><?php 
if ($event['contact_email_displayed'] == 1) {
    echo '<a href="mailto:' . $event['email'] . '">';
    echo $event['first_name'] . ' ' . $event['last_name'] . '</a></td></tr>';
} else {
    echo $event['first_name'] . ' ' . $event['last_name'];
}
?>
</td>
                        <tr>
                            <td>Description:</td>
                            <td><?php 
htmlout($event['description']);
?>
</td></tr>
                    </table>
                    <form action="?" method="post">
                        <input type="hidden" name="id" value="<?php 
echo $event['id'];
?>
">
                        <?php 
if ($event['status'] == 'on schedule - all clear') {
    if ($event['registration_required'] == 1) {
        if (in_array($event['id'], $registered_events)) {
            echo 'You are registered for this event.';
        } else {
            $seats_left = $event['maxusers'] - $event['currentusers'];
Example #18
0
  <head>
    <meta charset="utf-8">
    <title>Manage Authors</title>
  </head>
  <body>
    <h1>Manage Authors</h1>
    <p><a href="?add">Add new author</a></p>
    <ul>
      <?php 
foreach ($authors as $author) {
    ?>
        <li>
          <form action="" method="post">
            <div>
              <?php 
    htmlout($author['name']);
    ?>
              <input type="hidden" name="id" value="<?php 
    echo $author['id'];
    ?>
">
              <input type="submit" name="action" value="Edit">
              <input type="submit" name="action" value="Delete">
            </div>
          </form>
        </li>
      <?php 
}
?>
    </ul>
    <p><a href="..">Return to JMS home</a></p>
Example #19
0
}
?>
        </select>
      </div>
      <div>
        <label for="category">By category:</label>
        <select name="category" id="category">
          <option value="">Any category</option>
          <?php 
foreach ($categories as $category) {
    ?>
            <option value="<?php 
    htmlout($category['id']);
    ?>
"><?php 
    htmlout($category['name']);
    ?>
</option>
          <?php 
}
?>
        </select>
      </div>
      <div>
        <label for="text">Containing text:</label>
        <input type="text" name="text" id="text">
      </div>
      <div>
        <input type="hidden" name="action" value="search">
        <input type="submit" value="Search">
      </div>
htmlout($msg->raw('/question-summary/fs-select'));
?>
"
  >
  </div>

  <div>
    <label>
      <?php 
htmlout($msg->_('/question-summary/fs-list'));
?>
    </label>

    <div class="qs-fs-table" style="">
      <div class="hidden-template qs-fs-table-item">

      </div>
    </div>
  </div>

  <div>
    <button onclick="toggleAnswers(this);"
            class="btn btn-default btn-sm answer-toggle-btn"
    >
      <?php 
htmlout($msg->_('/question-summary/show-hide-answers'));
?>
    </button>
  </div>

</div>
Example #21
0
    ?>
      <table>
        <tr><th>Joke Text</th><th>Options</th></tr>
        <?php 
    foreach ($jokes as $joke) {
        ?>
        <tr valign="top">
          <td><?php 
        markdownout($joke['text']);
        ?>
</td>
          <td>
            <form action="?" method="post">
              <div>
                <input type="hidden" name="id" value="<?php 
        htmlout($joke['id']);
        ?>
">
                <input type="submit" name="action" value="Edit">
                <input type="submit" name="action" value="Delete">
              </div>
            </form>
          </td>
        </tr>
        <?php 
    }
    ?>
      </table>
    <?php 
}
?>
Example #22
0
                    <input type="submit" name="accion" value="conagua">
                  </form>
                <?php 
        }
        ?>
              </div>
              </td>
            </tr>
          <?php 
    }
    ?>
        </table>

        <form action="" method="post">
          <input type="hidden" name="ot" value="<?php 
    htmlout($ot);
    ?>
">
          <?php 
    if (isset($_SESSION['terminada']) or isset($_SESSION['supervisada'])) {
        ?>
            <br>
            <textarea style="resize: none;" rows=5 cols=50 name="comentario" id="comentario"></textarea>
            <input type="submit" name="accion" value="Comentar y Regresar Orden">
            <?php 
        if (isset($_SESSION['terminada'])) {
            ?>
              <input type="submit" name="accion" value="Vo. Bo.">
            <?php 
        }
    } else {
    ?>
>
                            <form action="?" method="post">
                                <div>
                                    <td><?php 
    htmlout($event['name']);
    echo '<br>';
    htmlout($event['building']);
    echo ' ';
    htmlout($event['room']);
    ?>
</td>
                                    <td><?php 
    htmlout(date("m/d g:i a", strtotime($event['start'])));
    echo '<br>';
    htmlout(date("m/d g:i a", strtotime($event['end'])));
    ?>
</td>
                                    <input type="hidden" name="id" 
                                            value="<?php 
    echo $event['id'];
    ?>
">
                                    <td><button class="btn btn-mini" type="submit" value="edit_event" 
                                        name="action" title="edit event">edit</button>
                                    <button class="btn btn-mini" type="submit" value="edit_events_properties" 
                                        name="action" title="edit event's properties">properties</button>
                                    <button class="btn btn-mini" type="submit" value="add_duty_to_this_event" 
                                        name="action" title="add duty"">add duty</button>
                                    <button class="btn btn-mini" type="submit" value="delete_event" 
                                        name="action" title="delete event"">delete</button>
<?php

$msg = new Messages($GLOBALS['locale'], '/question-student');
?>

<div class="form-group">
  <label>
    <?php 
htmlout($msg->_('sa-answer'));
?>
  </label>
  <input type="text" class="form-control qSt-sa-answer"
    maxlength="1048576"
  />
</div>
            <th>Nombre</th>
            <th>Apellidos</th>
            <th>Opciones</th>
          </tr>
        </thead>
        <tbody>
          <?php 
    foreach ($muestreadores as $muestreador) {
        ?>
            <tr>
              <td><?php 
        htmlout($muestreador['nombre']);
        ?>
</td>
              <td><?php 
        htmlout($muestreador['apellido']);
        ?>
</td>
              <td>
                <form action="" method="post">
                  <div>
                    <?php 
        if (usuarioConPermiso('Supervisor')) {
            ?>
                      <input type="hidden" name="id" value="<?php 
            echo $muestreador['id'];
            ?>
">
                      <input class="btn btn-default" style="width:75px" type="submit" name="accion" value="Editar">
                    <?php 
        }
        ?>
        <tr>
          <td><?php 
        htmlout($parametro['parametro']);
        ?>
</td>
          <td><?php 
        htmlout($parametro['metodo']);
        ?>
</td>
          <td><?php 
        htmlout($parametro['LD']);
        ?>
</td>
          <td><?php 
        htmlout($parametro['LC']);
        ?>
</td>
            <td>
              <form action="" method="post">
                <div>
                  <input type="hidden" name="id" value="<?php 
        echo $parametro['id'];
        ?>
">
                  <input class="btn btn-default" style="width:75px" type="submit" name="accion" value="Editar">
                  <input class="btn btn-danger" style="width:75px" type="submit" name="accion" value="Borrar">
                </div>
              </form>
            </td>
          </tr>
echo $msg->_('db-username-help');
?>
        </li>
        <li>
          <?php 
echo $msg->_('db-name-help');
?>
        </li>
      </ul>
      <?php 
include 'dbroot-form.html.php';
if (isset($GLOBALS['dbsetuperror'])) {
    ?>
      <?php 
}
?>
    </div>
    <?php 
if (!empty($GLOBALS['dbsetuperror'])) {
    ?>
      <div style="color: red; font-family: monospace;">
        <?php 
    htmlout($GLOBALS['dbsetuperror']);
    ?>
      </div>
    <?php 
}
?>
  </body>
</html>
  <?php 
include 'type-specific-elements/short-answer.html.php';
include 'type-specific-elements/essay.html.php';
include 'type-specific-elements/multiple-choice.html.php';
include 'type-specific-elements/matching.html.php';
include 'type-specific-elements/fitb-select.html.php';
include 'type-specific-elements/fitb-type.html.php';
include 'type-specific-elements/source-code.html.php';
?>


  <div class="help-block">
    <strong>
      <?php 
htmlout($msg->_('/question-summary/auto-marking-method'));
?>
    </strong>
    <span class="qs-amm"
      <?php 
$methods = ['none', 'exact', 'regex', 'binary', 'success-rate', 'tester', 'input-output-bin', 'input-output-avg'];
foreach ($methods as $method) {
    $method_name = html($msg->_('/auto-marking-methods/' . $method));
    $help = html($msg->_('/auto-marking-methods/' . $method . '_h'));
    echo " data-{$method}=\"{$method_name}\" data-{$method}-h=\"{$help}\"";
}
?>
    >
    </span>
  </div>
Example #29
0
            <?php 
}
?>
      	  <div>
            <?php 
if (isset($id)) {
    ?>
              <input type="hidden" name="id" value="<?php 
    htmlout($id);
    ?>
">
            <?php 
}
?>
      	    <input type="submit" name="accion" value="<?php 
htmlout($boton);
?>
">
      	  </div> 
      	</form>
        <form action="" method="post">
            <input type="submit" name="accion" value="Volver">
        </form>
      </div>  <!-- cuerpoprincipal -->
      <div id="footer">
        <?php 
include $_SERVER['DOCUMENT_ROOT'] . '/reportes/includes/pie_pag.inc.php';
?>
      </div>  <!-- footer -->
    </div> <!-- contenedor -->
  </body>
Example #30
0
<?php

include_once direction . functions . 'html.inc.php';
include_once direction . functions . 'form.inc.php';
open_html_head('Acceso Denegado');
close_head_open_body();
get_header();
?>
<div id="pantallaerror">
  <div id="mensajerror">
    <h3> Acceso denegado </h3>
    <div>
      <h4> <?php 
htmlout($mensaje);
?>
 </h4>
    </div>
  <div>
</div>  <!-- cuerpoprincipal -->
<?php 
close_html_body_footer();