Nominate a Student
Home
Log-in
Student of Month
Register
Join
About

Nominate a student for "The Student of the Month" for your school.

Nominations can be made by school owners or head instructors. The student of the month will be displayed with your school name for current month.Student and School Added!!"); } if ($schoolKey != 0) { msql_connect(); $entryDate = date("d-M-Y"); $field4 = ""; $field5 = NULL; $student = addslashes($student); $comment = addslashes($comment); $currentMonth = date("m"); $destinitionFileName = './../f'.$currentMonth.$image_size.$image_name; $imageName = 'f'.$currentMonth.$image_size.$image_name; $checkForImage = eregi("image", $image_type); if (!$checkForImage) { print ("

The image is not a gif, jpg, or png file!
The file will be deleted.

"); unlink ($image); $imageName = ""; } ELSE { if (($image_size != 0) && ($image_size <= 40960)) { $fileMove = copy($image, $destinitionFileName); unlink ($image); } } $query = "INSERT INTO school_som VALUES( $schoolKey, '$student', '$imageName', '$entryDate', '$comment', '$field4', $field5)"; $updateResult = msql("registry",$query); echo msql_error(); if ($updateResult) { print ("
Student of the Month Added! "); if ($image != "" ) { print ("
    Image information:
       Name = $image_name
       Type = $image_type
       Size = $image_size B
"); if (($image_size == 0) || ($image_size > 40960)) { print ("Error: Maximum file size exceeded.
File must be less than 40960 bytes.
File was not stored.
. "); } } print ("
Go To Student of the Month Page
"); } ELSE { print ("
Update Error
$query!
"); } } ELSE { if ($schoolShortNameOther == "") { print ("
You must choose a school.

If your school is not listed, add it with the form below.

"); } } } ?>

STUDENT OF THE MONTH

 

Student's Name * 

 

Image (optional 40KB max
gif, jpg, or png only.)

"); ?> 

Comment
(optional, 2KB max.)

 

SCHOOL NAME

 

School Name * 

\n"); print ("\n"); $row=0; $lastSchool = "xx"; while ($row < $num_rows) { $schoolKey = msql_result($schoolresult,$row,schoolKey); $shortName = msql_result($schoolresult,$row,shortName); if ($lastSchool != $shortName ) { print ("\n"); } $row++; $lastSchool = $shortName; } print (""); ?>  

 


CANT FIND YOUR SCHOOL?    ADD IT HERE!
 

 SCHOOL NAME

 

If your school is not listed
above, enter it here

 

School Description (optional)

 

School City 

 

State/Province/Country 

 

 

SCHOOL STYLE

 

School Style

"); $row=0; while ($row < $num_rows) { print (""); $row++; } print (""); ?>  

If the style is not listed above,
enter it here

 

Style Description (optional)

 

School Phone Number (optional)

 

 


 

 

[Home] [Log-in] [Student of Month] [Register] [Join] [About] [Help!] [Terms]