Viewing file: feedback.php (3.42 KB) -rw-r--r-- Select action/file-type: (+) | (+) | (+) | Code (+) | Session (+) | (+) | SDB (+) | (+) | (+) | (+) | (+) | (+) |
<?
include ("../include/start_page"); include ("../include/form_functions.php"); ?>
<script language="JavaScript"> function star(num){ $('#stars').val(num); for (i = 1; i <= 5; i++){ if (i <= num){ $('#star_'+i).attr('src', '../common/images/star_on.png'); } else{ $('#star_'+i).attr('src', '../common/images/star_off.png'); } } }
</script> <tr> <td rowspan="2" width="100%" valign="top"> <br> <div class="page_title"><?=$page_title?></div> <div class="page_subtitle"><?=$page_subtitle?></div> <!--Begin content table, starting with graphic formatting-->
<table bgcolor="#0b3010" width="100%" align="center" border="0" cellpadding="0" cellspacing="0"> <tr> <td rowspan="5" bgcolor="#5e6e60" height="1"><img src="../common/images/spacer.gif" width="1" height="1" alt="" border="0"></td> <td colspan="5" bgcolor="#5e6e60" height="1"><img src="../common/images/spacer.gif" width="1" height="1" alt="" border="0"></td> <td rowspan="5" bgcolor="#5e6e60" height="1"><img src="../common/images/spacer.gif" width="1" height="1" alt="" border="0"></td> </tr> <tr> <td colspan="3"><img src="../common/images/spacer.gif" width="20" height="20" alt="" border="0"></td> </tr> <tr> <td><img src="../common/images/spacer.gif" width="20" height="20" alt="" border="0"></td>
<!--actual content goes in this td--> <td> Please tell us about your experience with Makras Real Estate<br><br> <form action="process.php" method="post"> <table class="formtable" border="0" cellpadding="0" cellspacing="0"> <tr> <td class="formlabel">Your Name: </td> <td class="formfield"><?=dp_input('name', 50, 'required');?></td> </tr> <tr> <td class="formlabel">Reason For Visit</td> <td class="formfield"><?=dp_input('reason', 50, 'required');?></td> </tr> <tr> <td class="formlabel">Positive Comments</td> <td class="formfield"><?=dp_textarea('comments', 40, 4, 'required');?></td> </tr> <tr> <td class="formlabel" style="vertical-align: middle">Rating</td> <td class="formfield"><?=dp_hidden('stars', 5);?> <? for($i = 1; $i<=5; $i++){ echo '<img id="star_'.$i.'" onclick="star('.$i.')" class="clickable" style="margin-right: 5px;" src="../common/images/star_on.png" alt="" width="20" height="20" border="0">'; } ?> </td> </tr> <tr> <td colspan="2"><input class="btn" type="submit" value="Send Feedback"></td> </tr> </table> </form> </td> <!--End of content cell--> <!--Formatting for table with light color outline--> <td><img src="../common/images/spacer.gif" width="20" height="20" alt="" border="0"></td> </tr> <tr> <td colspan="3"><img src="../common/images/spacer.gif" width="20" height="20" alt="" border="0"></td> </tr> <tr> <td colspan="5" bgcolor="#5e6e60" height="1"><img src="../common/images/spacer.gif" width="1" height="1" alt="" border="0"></td> </tr> </table> </td> <!--this td stretches the content cell so it starts right below the pictures--> <td height="150" width="1"><img src="../common/images/spacer.gif" width="1" height="1" border="0"></td> </tr> <tr><!--logo at bottom--> <td valign="bottom"></td> <td width="1"></td> </tr>
<?include ("../include/end_page");?>
|