943,791 Members | Top Members by Rank

Ad:
  • PHP Discussion Thread
  • Unsolved
  • Views: 2979
  • PHP RSS
Jun 29th, 2004
0

Event List for Car Show Fan Site -

Expand Post »
I need some help with an event list module for PHPNuke 7.x.

This is how we need it to work. It is going to be used on a Car Show site.

The User will enter the Submit area and enter the following information that we need to store in a database.

Name of Show
Date of show
Time of Show
Contact Phone Number
Dealer
#of days
City
State
Type
Points
Comments -to give directions and what ever.

They would then click submit and it would then be held for admin approval.

If approved would be posted in this fashion -http://www.soundoff.org/cgi-bin/sche...&display_all=1

If you notice at the bottom there is a search function- we will need this function as well.

I can be reached on MSN - my MSN ID is in my profile.

Thank you in advance.

*********************************************************
Note:
I have edited the html source that was there- I am now only looking for code that I need between the two html header stuff- I am including the code I have at the moment.

PHP Syntax (Toggle Plain Text)
  1. <html>
  2. <head>
  3. <title>USACi Events</title>
  4. </head>
  5. <body text="#C0C0C0" bgcolor="#000000">
  6. <style type="text/css">
  7.  
  8. <!--
  9.  
  10. A:link {color: white;text-decoration: none}
  11. A:visited {color: rgb(160, 160, 255);text-decoration: none}
  12. A:hover {color: red;text-decoration: none}
  13. -->
  14.  
  15. </style>
  16. <body>
  17.  
  18. <P>
  19. <table border="0" width=98%" cellspacing="0" cellpadding="0">
  20. <tr>
  21. <td bgcolor="800000"><font face="Verdana, Arial, Helvetica, sans-serif" size="2" color="#C0C0C0"><b>Search Results</b></font></td>
  22. </tr>
  23.  
  24. <tr>
  25. <td bgcolor="000000"><img src="space.gif" width="1" height="2" vspace="0" hspace="0"></td>
  26. </tr>
  27. </table>
  28.  
  29. <P>
  30. <table width=95% cellpadding=1 cellspacing=1 border=0>
  31. <tr bgcolor="#800000">
  32.  
  33. <th>
  34. <font size="1" face="Verdana, Arial, Helvetica, sans-serif" color="#ffffff">
  35. Date
  36. </font>
  37. </th>
  38.  
  39. <th>
  40. <font size="1" face="Verdana, Arial, Helvetica, sans-serif" color="#ffffff">
  41. Days
  42. </font>
  43. </th>
  44.  
  45. <th>
  46. <font size="1" face="Verdana, Arial, Helvetica, sans-serif" color="#ffffff">
  47. Dealer
  48. </font>
  49. </th>
  50.  
  51. <th>
  52. <font size="1" face="Verdana, Arial, Helvetica, sans-serif" color="#ffffff">
  53. City
  54. </font>
  55. </th>
  56.  
  57. <th>
  58. <font size="1" face="Verdana, Arial, Helvetica, sans-serif" color="#ffffff">
  59. State
  60. </font>
  61. </th>
  62.  
  63. <th>
  64. <font size="1" face="Verdana, Arial, Helvetica, sans-serif" color="#ffffff">
  65. Number
  66. </font>
  67. </th>
  68.  
  69. <th>
  70. <font size="1" face="Verdana, Arial, Helvetica, sans-serif" color="#ffffff">
  71. Type
  72. </font>
  73. </th>
  74.  
  75. <th>
  76. <font size="1" face="Verdana, Arial, Helvetica, sans-serif" color="#ffffff">
  77. Points
  78. </font>
  79. </th>
  80.  
  81. </tr>
  82.  
  83. **********************
  84. HTML header above
  85. **********************
  86.  
  87. PHP to generate the list from the database.
  88.  
  89. **********************
  90. HTML footer below
  91. **********************
  92.  
  93.  
  94. <P> <form method=post action="display.cgi">
  95. <table border="0" width=98%" cellspacing="0" cellpadding="0">
  96. <tr>
  97. <td bgcolor="800000"><font face="Verdana, Arial, Helvetica, sans-serif" size="2" color="#C0C0C0"><b>Event Search</b></font></td>
  98. </tr>
  99.  
  100. <tr>
  101. <td bgcolor="000000"><img src="space.gif" width="1" height="2" vspace="0" hspace="0"></td>
  102. </tr>
  103.  
  104. <tr>
  105. <td>
  106. <font size="2" face="Verdana, Arial, Helvetica, sans-serif">
  107. <ul>
  108.  
  109. <br>
  110. Choose one field to search.<p>
  111. Example of what can be entered in each field:<br>
  112. <table BORDER=0 CELLSPACING=5 CELLPADDING=0 WIDTH="75%" >
  113. <tr ALIGN=CENTER VALIGN=CENTER>
  114. <td><b><font face="Arial"><font size=-1>Date</font></font></b></td>
  115.  
  116. <td><b><font face="Arial"><font size=-1># of Days</font></font></b></td>
  117.  
  118. <td><b><font face="Arial"><font size=-1>Dealer</font></font></b></td>
  119.  
  120. <td><b><font face="Arial"><font size=-1>City</font></font></b></td>
  121.  
  122. <td><b><font face="Arial"><font size=-1>State</font></font></b></td>
  123.  
  124. <td><b><font face="Arial"><font size=-1>Number</font></font></b></td>
  125.  
  126. <td><b><font face="Arial"><font size=-1>Type</font></font></b></td>
  127.  
  128. <td><b><font face="Arial"><font size=-1>Points</font></font></b></td>
  129. </tr>
  130.  
  131. <tr ALIGN=LEFT VALIGN=TOP>
  132. <td><font face="Arial"><font size=-1>2/30/2002</font></font></td>
  133.  
  134. <td><font face="Arial"><font size=-1><center>1 or 2</center></font></font></td>
  135.  
  136. <td><font face="Arial"><font size=-1>Sound Pounders</font></font></td>
  137.  
  138. <td><font face="Arial"><font size=-1>Fall</font></font></td>
  139.  
  140. <td><font face="Arial"><font size=-1>TX</font></font></td>
  141.  
  142. <td><font face="Arial"><font size=-1>713-345-6654</font></font></td>
  143.  
  144. <td><font face="Arial"><font size=-1>FE - Outlaw SPL and SQ</font></font>
  145. <br><font face="Arial"><font size=-1>SPL - Outlaw SPL Only</font></font>
  146. <br><font face="Arial"><font size=-1>dB - dB Drag Event</font></font>
  147. <br><font face="Arial"><font size=-1>FE+CS - SPL, SQ & Carshow</font></font></td>
  148.  
  149. <td><font face="Arial"><font size=-1>SP - Single Pts</font></font>
  150. <br><font face="Arial"><font size=-1>DP - Double Pts</font></font>
  151. <br><font face="Arial"><font size=-1>TP - Triple Pts</font></font>
  152. <br><font face="Arial"><font size=-1>R - Regional</font></font>
  153. </font></td>
  154. </tr>
  155. </table>
  156. <b>Search by Keywords:</b><BR>
  157. <INPUT type="text" name="searchtext" size=60 maxlength=60>
  158. <BR>Search for results containing <INPUT type="radio" name="searchtype" value="any" checked> ANY or <INPUT type="radio" name="searchtype" value="all"> ALL of these words or phrases.
  159.  
  160. <P>
  161.  
  162. <P>
  163. <center>
  164. <input type=hidden name="search" value="1">
  165. <input type=submit value="Search">
  166. </center>
  167. </form>
  168. </ul>
  169. </td>
  170. </tr>
  171. </table>
  172.  
  173. <P><P></body></html>
  174. <P>

This is WAY over my head but I need this for the site.
Similar Threads
Reputation Points: 10
Solved Threads: 0
Newbie Poster
ChuckD is offline Offline
1 posts
since Jun 2004

This thread is more than three months old

No one has posted to this discussion for at least three months. Please let old threads die and do not reply to them unless you feel you have something new and valuable to contribute that absolutely must be added to make the discussion complete. Otherwise, please start a new thread in this forum instead.
Message:
Previous Thread in PHP Forum Timeline: how can i convert utf-8 to big5 and write into MySQL??
Next Thread in PHP Forum Timeline: Problem Unsetting Variables?





About Us | Contact Us | Advertise | Acceptable Use Policy
Forum Index | Build Custom RSS Feed


Follow us on Twitter


© 2011 DaniWeb® LLC