Exemplo n.º 1
0
<?php

/**
	Given:	pagetitle,
			pageurl,
			actions
*/
?>

<?php 
include "{$TEMPLATEROOT}/template_begin.inc";
jsSetupAutocomplete('country_form', 'country', 'countries');
include "{$TEMPLATEROOT}/template_notices.inc";
?>


<?php 
$args['actions']['areas']->FORM_BEGIN('id="country_form"');
?>
			<input type="text" name="country" id="country" <?php 
setDefaultText('Enter a country.');
?>
 />
<?php 
$args['actions']['areas']->FORM_END();
?>

<!--
<?php 
foreach ($args['countries'] as $country) {
    ?>
Exemplo n.º 2
0
<?php

/**
	Given:	pagetitle,
			actions
*/
include "{$TEMPLATEROOT}/template_begin.inc";
jsSetupAutocomplete('', 'tgt', 'users');
include "{$TEMPLATEROOT}/template_notices.inc";
?>

<?php 
$args['actions']['submitprivatemessage']->FORM_BEGIN();
?>
	<p>Username:</p>
	<input type="text" name="user" size="32" id="tgt" value="<?php 
echo isset($_SESSION['saved']['user']) ? $_SESSION['saved']['user'] : '';
?>
" />
	<p>Subject:</p>
	<input type="text" name="subject" size="64" value="<?php 
echo isset($_SESSION['saved']['subject']) ? $_SESSION['saved']['subject'] : '';
?>
" />
	<p>Message:</p>
	<textarea name="msg" rows="10" cols="60"><?php 
echo isset($_SESSION['saved']['msg']) ? $_SESSION['saved']['msg'] : '';
?>
</textarea>
	
Exemplo n.º 3
0
<?php

/**
	Given:	pagetitle,
			actions,
			recaptcha_error
*/
include "{$TEMPLATEROOT}/template_begin.inc";
jsSetupAutocomplete('', 'university', 'universities');
?>
<script src="<?php 
echo $HTMLROOT;
?>
/js/jquery.validate.js"> </script>
<script src="<?php 
echo $HTMLROOT;
?>
/js/jquery.validate.password.js"> </script>
<link rel="stylesheet" type="text/css" media="screen" src="<?php 
echo $HTMLROOT;
?>
/css/jquery.validate.password.css" />
<script type="text/javascript">
jQuery(document).ready(function() {
	// http://bassistance.de/jquery-plugins/jquery-plugin-password-validation/
	// http://docs.jquery.com/Plugins/validation
	// http://jquery.bassistance.de/validate/demo/milk/
	jQuery("#create_form").validate({
		rules: {
			//firstname: "required",
			//lastname: "required",
Exemplo n.º 4
0
/**
	Given:	pagetitle,
			pageurl,
			actions
*/
?>

<?php 
include "{$TEMPLATEROOT}/template_begin.inc";
?>
<script type="text/javascript">
	img = new Image(1,1);
	img.src = "/images/navigation/blank.png";
</script>
<?php 
jsSetupAutocomplete('uni_form', 'uni', 'universities');
include "{$TEMPLATEROOT}/template_notices.inc";
?>

<p>ClassMate was built with one goal in mind: to supplement the end-to-end learning process. As students, we understand the importance of personal enrichment and the tremendous impact well-managed course related information can have. ClassMate leverages the power of the most prominent resource hubs available online in order to provide students with the most relevant, up-to-date and helpful information possible. ClassMate also provides a centralized information source which allows students to package, manage and utilize information on a course-by-course basis. </p>
<p>The power and elegance of ClassMate makes it easy for anyone to get started learning. </p>

<?php 
//if(User::IsAuthenticated()) { /* USER AUTHENTICATED */
?>
<p>	Enter the name of a university in the box below, or click here to pick a
	<a class="nicebodylink" href="/areas?country=<?php 
echo Country::GetID('Canada');
?>
">
		province.</a>