Jump to content

LDMartin1959

Members
  • Posts

    22
  • Joined

  • Last visited

Everything posted by LDMartin1959

  1. That still causes the content to disappear entirely. Which suggests that the query is not returning any results, yet I know it is (at least, at some point) because when the content IS being generated it is coming from the values from the query.
  2. I restore the code back to the original configuration and added a line to simply echo the value in mysql_num_rows($ql) after if ($q1) to see what it contains. Simply adding that echo killed the display of the intended content from everywhere, where intended and not; when I removed that echo the content returned as before (complete where intended, partial display where not intended to display any). I did an assignment $test_q1 = mysql_num_rows($ql) which also killed the display of the intended content from everywhere, where intended and not; when I removed that echo the content returned as before (complete where intended, partial display where not intended to display any). I'm not sure what I misunderstood of your instruction but obviously I need additional clarification.
  3. Whoops. I musta done something wrong: I replaced $row_diamond=mysql_fetch_object($q1); if ($q1){ with if (mysql_num_rows($ql) != 0){ $row_diamond=mysql_fetch_object($q1); The result was that the content is no longer showing up on the page it is supposed, the page which fulfills the criteria. Did I replace too much?
  4. I am a WP and PHP novice still flailing in the deep end of the pool. I am trying to add some logic to display content on certain pages (via WP templates), not on others. I've made some progress but having issues. Here is the plan: On certain pages with an post type of "EVENT" I want content to appear, but not on OTHER pages with an post type of "EVENT". The problem I am running into is that part of the content is appearing on ALL event pages even if they don't meet the criteria. The logic is intended to be this: If the page is post_type "EVENT", AND if the indicated table contains a field with a record CAT which matches the current "POST ID", AND contains a record TYPE which matches value "1", display table cells which contain text "Presented by: ", an href and an image, else display table cells which contain a nonbreaking space. The problem is that the text "Presented by: " is appearing on ALL the even pages, regardless of whether they meet the criteria or not -- which would tend to indicate a problem with the logic code -- but by the same token the href and image are correctly appearing ONLY on the pages that meet the criteria and are NOT appearing on along with the rogue text on pages which do not meet the criteria. I am sure it is a coding error on my part but I am not sure what. ANY help anyone could give would be GREATLY appreciated. The code involved is below (oh, and I should mention that the code in question is in the HEADER.PHP file): <?php if($post->post_type=='event') { $q1=mysql_query("SELECT * FROM table_name WHERE type = 1 AND cat = $post->ID "); $row_diamond=mysql_fetch_object($q1); if ($q1){ ?> <td width="115" align="right" valign="middle" id="diamond1"><strong style="position:relative;bottom:-25px;">Presented by: </strong></td> <td id="diamond2" width="190"> <a href="<?=$row_diamond->website?>" title="<?=$row_diamond->website_title?>" target="_blank" style="cursor:pointer;"><img style="position:relative;bottom:5px;" src="<?php bloginfo('siteurl'); ?>/wp-content/plugins/sean_event/files/<?=$row_diamond->image?>" alt="<?=$row_diamond->alt_text?>"border="0"></a> <br /> </td> <?php } else{ ?> <td width="115" align="right" valign="middle" id="diamond1"> </td> <td id="diamond2" width="190"> </td> <?php } } ?>
  5. You'd think when you use the MySQL query function to create the query it'd be smart enough not to do that!! Thanks. That solves that problem.
  6. Working on a WordPress site. I've been again thrown into the deep end of the pool on this. I am trying to add some code to the HEADER.PHP file which will display content under certian conditions. Here's the code in question: $q1=mysql_query("SELECT * FROM 'wp_sean_sponsors' WHERE 'type' LIKE 1 AND 'cat'='.$post->ID.' "); $row_diamond=mysql_fetch_object($q1); if ($q1){ ?> The problem is that there doesn't seem to be anything coming back from the database. When I do a var_dump of $q1 it comes back as boolen(false), which I am taking to mean it has no value. But I know that a record which matches the criteria exists. I tried replacing '.$post->ID.' with a hard value with no change. I've got no clue where to go next but they're beating me until I come up with a solution.
  7. Well, I just got thrown into this after the mess was made. I had nothing to do with creating it!!
  8. No, wasn't intentional (although in terms of the logic result, it shouldn't make any difference as far as I can tell since the full statement still returns true). I am working on adding this logic to several WordPress templates on this site and apparently different people coded not only different pages but different portions of the pages and there are a LOT of inconsistencies in how things are done from page to page, and section to section. So that was my error for not getting all the changes made in that location. But I'm still not seeing any change in behaviour even with the correction. Frankly, there are tons of issues with this site: on a totally unrelated issue, the site has two different contact form which submit information via the mail() function, but one of them doesn't work despite the fact that PHP returns true from the function (which should mean that PHP successfully submitted the data) on both, the fact that both are in the same directory and both files are set to the same Unix permissions levels, since the one works it shouldn't be a PHP.ini setting and the one that failed simply stopped working one day even though no one touched the file or (as far as I can tell) any of the supporting files. Ugggh. This is probably not the best site for someone with my lack of PHP experience to be "gaining experience" with.
  9. I echoed the values to the screen and those are the values it gave back (edited, as I said). The echo code is: echo "Start Time: " . $str . "<br />"; echo "Online Reg Close: " . $close_reg . "<br />"; echo "AutoClose: " . $auto_close_reg . "<br />"; echo "Current Time: " . $time_now . "<br />"; echo "Post register: " . ($post->register) . "<br />"; The returned values are (as of the time of testing): Start Time: 1386266400 Online Reg Close: 1386201600 AutoClose: 1386277140 Current Time: 1386270164 Post register: 0 Unless my eyes are deceiving me (and I'll grant that's a possibility), these values still fulfill the second if statement as true.
  10. Correct, which means the second if statement should be true (at least, if I did my logic correctly): IF $str is less than $time_now [true] AND (($row->register=="0") [it is not] OR ($auto_close_reg is less than $time_now) [it is, thus making the OR clause true]) then echo $reg_closed_message
  11. I have the following code: <?php if(($time_now<$str) && (($post->register=="0") || ($close_reg<$time_now))) { echo $online_reg_closed_message; } else if(($str<$time_now) && (($row->register=="0") || ($auto_close_reg<$time_now))) { echo $reg_closed_message; } else { echo $final_message; } ?> I checked the values of the variables and they come back as this (shortened to significant values only for clarity: $auto_close_reg 84340 $time_now 70164 (at the time of testing, at any rate) $str 66400 $close_reg 16000 $post->register 0 Now, if the logic is functioning correctly I should (at the time of testing) be seeing the message stored in$reg_closed_message displayed. I'm not. I'm seeing $final_message. It's probably something obvious but I can't see it. What did I do wrong here? Thank you.
  12. I've sorta narrowed the problem to the table that begins at about line 97. I've eliminated the entire contents of the table and left it with two cells in a single row and THAT seems to be enough to break the PHP when enclosed with the else{}, yet the OTHER table doesn't give any problem when surrounded by the else{} statement. What am I missing?
  13. The presence of the {} around the form is still killing the page. The page displays when the form is not enclosed in the else{} -- although incorrectly since the logic statements are not excluding the form when it is not appropriate -- when the form is wrapped in else{} the page dies: nothing displays. I don't get it: What is there within the form code that can not handle being enclosed in the else{} function?
  14. I got CS5 cheap with my computer as a student. And since that package was/is used extensively by the school I was attending at the time, it seemed like a reasonable purchase.
  15. And as an additional question, what happened that the change I was making would case the fetch to fail when it had worked correctly (apparently) previously? Thank you.
  16. Okay. And how did this cause the error message in DW? Or was DW just flipping out?
  17. It looks like the principle change you made was the addition of the line: if(mysql_num_rows($result)) But I also see that you eliminated one of the ")"'s after $_GET['id']. I'm guessing that "extra" ")" was causing part of the problem...but why did it work correctly in the original code without error? Any idea? Thank you.
  18. The error message is: [02-Dec-2013 02:50:27 UTC] PHP Warning: mysql_fetch_object(): supplied argument is not a valid MySQL result resource in /mnt/stor11-wc2-dfw1/504042/www.theitsummit.com/web/content/wp-content/themes/theitsummit/denver2012registration.php on line 26 Code beginning on line 26 looks like this: <?php $row = mysql_fetch_object(mysql_query("select * from wp_posts where ID=".$_GET['id'])); if($row->evtdate=="") { wp_redirect(home_url()); exit; } $originalDate = $row->evtdate ; $newDate = date("F j, Y", strtotime($originalDate)); ?> I was gonna try to post the code from the entire page but it runs too long. However, the file can be viewed here: https://dl.dropboxusercontent.com/u/107754695/denver2012registration.php
  19. I am trying to add some logic to an existing page (WordPress template) and I am not an experienced PHP person. The logic I am trying to introduce is this: If the current date is after a specific date (pulled from the database) then display a message, otherwise display a table with a form which can be completed and submitted. I can add most of the logic (if/else) code without any errors, but as soon as I add the last else{}, enclosing the table between the else statements opening "{" and closing "}" I get error messages. And frankly, they are not making sense to me: DreamWeaver (which I am using simply because it makes working with the tables a bit easier for me than a straight-forward code editor) says the change I make of enclosing the table in else{} is creating a syntax error on line 1 even though the changes I am making are on about line 55; the PHP error log says line 26 which is a self-contained PHP tag set. I have checked and I have no unclosed PHP tags -- quite literally simply adding the {} surrounding the table seems to cause the error. What am I missing here? Thank you in advance for your help. The code in question (including the PHP involved is as follows: else { ?> <table width="100%" border="0" cellspacing="1" cellpadding="5"> <tr> <td width="83%"><div class="events_body_text"> <?php the_content('Read the rest of this entry »'); ?> <?php wp_link_pages(array('before' => '<p><strong>Pages:</strong> ', 'after' => '</p>', 'next_or_number' => 'number')); ?> <?php endwhile; endif; ?> </div> <hr> <br /> <form method="post" enctype="multipart/form-data" target="_self" id="form1" action="<?php bloginfo('siteurl'); ?>/do_event.php"> <input name="event" value="<?=$row->city?>, <?=$row->state?>" type="hidden"> <input name="eventdate" value="<?=$row->evtdate?>" type="hidden"> <input name="eventid" value="<?=$_GET['id']?>" type="hidden"> <input name="nav_title" value="<?=$row->navigationtitle?>" type="hidden"> <table id="eventRegistration" class="basic" style="width: 100%; margin: 0pt auto;"> <tbody> <tr> <td width="10%"></td> <td align="center" valign="top" width="35%"><table class="basic"> <tbody> <tr> <td class="formLabel"><label for="role" style="font-weight: bold;"> <span style="font-weight: bold; color: #cc3300;"> *</span> Registration Type : </label></td> <td align="left" valign="middle" class="formField"> <select name="registration_type" class="medium" id="registration_type"> <option selected="selected" value="">Please select one...</option> <option value="Sponsor" >Sponsor</option> <option value="Attendee">Guest</option> </select></td> </tr> <tr> <td class="formLabel"><label for="fname" style="font-weight: bold;"> <span style="font-weight: bold; color: #cc3300;"> * </span> First Name: </label></td> <td class="formField"><input class="medium" id="fname" name="fname" type="text"></td> </tr> <tr> <td class="formLabel"><label for="lname" style="font-weight: bold;"> <span style="font-weight: bold; color: #cc3300;"> * </span> Last Name: </label></td> <td class="formField"><input class="medium" id="lname" name="lname" type="text"></td> </tr> <tr> <td class="formLabel"><label for="company" style="font-weight: bold;"> <span style="font-weight: bold; color: #cc3300;"> * </span> Company: </label></td> <td class="formField"><input class="medium" id="company" name="company" type="text"></td> </tr> <tr> <td class="formLabel"><label for="email" style="font-weight: bold;"> <span style="font-weight: bold; color: #cc3300;"> * </span> Email: </label></td> <td class="formField"><input class="medium" id="email" name="email" type="text"></td> </tr> <tr> <td class="formLabel"><label for="email2" style="font-weight: bold;"> <span style="font-weight: bold; color: #cc3300;"> * </span> Verify Email: </label></td> <td class="formField"><input class="medium" id="email2" name="email2" type="text"></td> </tr> <tr> <td class="formLabel"><label for="title" style="font-weight: bold;"> <span style="font-weight: bold; color: #cc3300;"> * </span> Professional Title: </label></td> <td class="formField"><input class="medium" id="title" name="title" type="text"></td> </tr> <tr> <td class="formLabel"><label for="address" style="font-weight: bold;"> <span style="font-weight: bold; color: #cc3300;"> * </span> Mailing Address: </label></td> <td class="formField"><input class="medium" id="address" name="address" type="text"></td> </tr> <tr> <td class="formLabel"><label for="address2" style="font-weight: bold;"> Mailing Address 2: </label></td> <td class="formField"><input class="medium" id="address2" name="address2" type="text"></td> </tr> <tr> <td class="formLabel"><label for="city" style="font-weight: bold;"> <span style="font-weight: bold; color: #cc3300;"> * </span> City: </label></td> <td class="formField"><input class="medium" id="city" name="city" type="text"></td> </tr> <tr> <td class="formLabel"><label for="state" style="font-weight: bold;"> <span style="font-weight: bold; color: #cc3300;"> * </span> State/Province: </label></td> <td class="formField"><select name="state" size="true" class="medium" id="state"> <option selected="selected" value="Other">Other</option> <!-- - Other --> <option value="Alabama">Alabama</option> <!-- - Alabama --> <option value="Alaska">Alaska</option> <!-- - Alaska --> <option value="Arizona">Arizona</option> <!-- - Arizona --> <option value="Arkansas">Arkansas</option> <!-- - Arkansas --> <option value="California">California</option> <!-- - California --> <option value="Colorado">Colorado</option> <!-- - Colorado --> <option value="Connecticut">Connecticut</option> <!-- - Connecticut --> <option value="Delaware">Delaware</option> <!-- - Delaware --> <option value="Florida">Florida</option> <!-- - Florida --> <option value="Georgia">Georgia</option> <!-- - Georgia --> <option value="Hawaii">Hawaii</option> <!-- - Hawaii --> <option value="Idaho">Idaho</option> <!-- - Idaho --> <option value="Illinois">Illinois</option> <!-- - Illinois --> <option value="Indiana">Indiana</option> <!-- - Indiana --> <option value="Iowa">Iowa</option> <!-- - Iowa --> <option value="Kansas">Kansas</option> <!-- - Kansas --> <option value="Kentucky">Kentucky</option> <!-- - Kentucky --> <option value="Louisiana">Louisiana</option> <!-- - Louisiana --> <option value="Maine">Maine</option> <!-- - Maine --> <option value="Maryland">Maryland</option> <!-- - Maryland --> <option value="Massachusetts">Massachusetts</option> <!-- - Massachusetts --> <option value="Michigan">Michigan</option> <!-- - Michigan --> <option value="Minnesota">Minnesota</option> <!-- - Minnesota --> <option value="Mississippi">Mississippi</option> <!-- - Mississippi --> <option value="Missouri">Missouri</option> <!-- - Missouri --> <option value="Montana">Montana</option> <!-- - Montana --> <option value="Nebraska">Nebraska</option> <!-- - Nebraska --> <option value="Nevada">Nevada</option> <!-- - Nevada --> <option value="New Hampshire">New Hampshire</option> <!-- - New Hampshire --> <option value="New Jersey">New Jersey</option> <!-- - New Jersey --> <option value="New Mexico">New Mexico</option> <!-- - New Mexico --> <option value="New York">New York</option> <!-- - New York --> <option value="North Carolina">North Carolina</option> <!-- - North Carolina --> <option value="North Dakota">North Dakota</option> <!-- - North Dakota --> <option value="Ohio">Ohio</option> <!-- - Ohio --> <option value="Oklahoma">Oklahoma</option> <!-- - Oklahoma --> <option value="Oregon">Oregon</option> <!-- - Oregon --> <option value="Pennsylvania">Pennsylvania</option> <!-- - Pennsylvania --> <option value="Puerto Rico">Puerto Rico</option> <!-- - Puerto Rico --> <option value="Rhode Island">Rhode Island</option> <!-- - Rhode Island --> <option value="South Carolina">South Carolina</option> <!-- - South Carolina --> <option value="South Dakota">South Dakota</option> <!-- - South Dakota --> <option value="Tennessee">Tennessee</option> <!-- - Tennessee --> <option value="Texas">Texas</option> <!-- - Texas --> <option value="Utah">Utah</option> <!-- - Utah --> <option value="Vermont">Vermont</option> <!-- - Vermont --> <option value="Virginia">Virginia</option> <!-- - Virginia --> <option value="Washington">Washington</option> <!-- - Washington --> <option value="Washington DC">Washington DC</option> <!-- - Washington DC --> <option value="West Virginia">West Virginia</option> <!-- - West Virginia --> <option value="Wisconsin">Wisconsin</option> <!-- - Wisconsin --> <option value="Wyoming">Wyoming</option> <!-- - Wyoming --> <optgroup label=" "></optgroup> <optgroup label="Canada" style=" font-style:normal;"></optgroup> <option value="Alberta">Alberta</option> <!-- - Alberta --> <option value="British Columbia">British Columbia</option> <!-- - British Columbia --> <option value="Manitoba">Manitoba</option> <!-- - Manitoba --> <option value="New Brunswick">New Brunswick</option> <!-- - New Brunswick --> <option value="Newfoundland">Newfoundland</option> <!-- - Newfoundland --> <option value="Northwest Territories">Northwest Territories</option> <!-- - Northwest Territories --> <option value="Nova Scotia">Nova Scotia</option> <!-- - Nova Scotia --> <option value="Nunavut">Nunavut</option> <!-- - Nunavut --> <option value="Ontario">Ontario</option> <!-- - Ontario --> <option value="Prince Edward Island">Prince Edward Island</option> <!-- - Prince Edward Island --> <option value="Quebec">Quebec</option> <!-- - Quebec --> <option value="Saskatchewan">Saskatchewan</option> <!-- - Saskatchewan --> <option value="Yukon Territory">Yukon Territory</option> <!-- - Yukon Territory --> </select></td> </tr> <tr> <td class="formLabel"><label for="zip" style="font-weight: bold;"> <span style="font-weight: bold; color: #cc3300;"> * </span> Zip: </label></td> <td align="left" valign="middle" class="formField"><input class="medium" id="zip" name="zip" type="text"></td> </tr> <tr> <td width="146" valign="middle" class="formLabel"><label for="country" style="font-weight: bold;"> <span style="font-weight: bold; color: #cc3300;"> * </span> Country: </label></td> <td width="342" align="left" valign="middle" class="formField"><select name="country" size="true" class="medium" id="country"> <option selected="selected" value="United States">United States</option> <option value="Afghanistan">Afghanistan</option> <option value="Albania">Albania</option> <option value="Algeria">Algeria</option> <option value="American Samoa">American Samoa</option> <option value="Andorra">Andorra</option> <option value="Angola">Angola</option> <option value="Anguilla">Anguilla</option> <option value="Antarctica">Antarctica</option> <option value="Antigua And Barbuda">Antigua And Barbuda</option> <option value="Argentina">Argentina</option> <option value="Armenia">Armenia</option> <option value="Aruba">Aruba</option> <option value="Australia">Australia</option> <option value="Austria">Austria</option> <option value="Azerbaijan">Azerbaijan</option> <option value="Bahamas">Bahamas</option> <option value="Bahrain">Bahrain</option> <option value="Bangladesh">Bangladesh</option> <option value="Barbados">Barbados</option> <option value="Belarus">Belarus</option> <option value="Belgium">Belgium</option> <option value="Belize">Belize</option> <option value="Benin">Benin</option> <option value="Bermuda">Bermuda</option> <option value="Bhutan">Bhutan</option> <option value="Bolivia">Bolivia</option> <option value="Bosnia And Herzegovina">Bosnia And Herzegovina</option> <option value="Botswana">Botswana</option> <option value="Bouvet Island">Bouvet Island</option> <option value="Brazil">Brazil</option> <option value="British Indian Ocean Territory">British Indian Ocean Territory</option> <option value="Brunei Darussalam">Brunei Darussalam</option> <option value="Bulgaria">Bulgaria</option> <option value="Burkina Faso">Burkina Faso</option> <option value="Burundi">Burundi</option> <option value="Cambodia">Cambodia</option> <option value="Cameroon">Cameroon</option> <option value="Canada">Canada</option> <option value="Cape Verde">Cape Verde</option> <option value="Cayman Islands">Cayman Islands</option> <option value="Central African Republic">Central African Republic</option> <option value="Chad">Chad</option> <option value="Chile">Chile</option> <option value="China">China</option> <option value="Christmas Island">Christmas Island</option> <option value="Cocos (keeling) Islands">Cocos (keeling) Islands</option> <option value="Colombia">Colombia</option> <option value="Comoros">Comoros</option> <option value="Congo">Congo</option> <option value="Congo - The Democratic Republic Of The">Congo - The Democratic Republic Of The</option> <option value="Cook Islands">Cook Islands</option> <option value="Costa Rica">Costa Rica</option> <option value="Cote D'ivoire">Cote D'ivoire</option> <option value="Croatia">Croatia</option> <option value="Cuba">Cuba</option> <option value="Cyprus">Cyprus</option> <option value="Czech Republic">Czech Republic</option> <option value="Denmark">Denmark</option> <option value="Djibouti">Djibouti</option> <option value="Dominica">Dominica</option> <option value="Dominican Republic">Dominican Republic</option> <option value="East Timor">East Timor</option> <option value="Ecuador">Ecuador</option> <option value="Egypt">Egypt</option> <option value="El Salvador">El Salvador</option> <option value="Equatorial Guinea">Equatorial Guinea</option> <option value="Eritrea">Eritrea</option> <option value="Estonia">Estonia</option> <option value="Ethiopia">Ethiopia</option> <option value="Falkland Islands (malvinas)">Falkland Islands (malvinas)</option> <option value="Faroe Islands">Faroe Islands</option> <option value="Fiji">Fiji</option> <option value="Finland">Finland</option> <option value="France">France</option> <option value="French Guiana">French Guiana</option> <option value="French Polynesia">French Polynesia</option> <option value="French Southern Territories">French Southern Territories</option> <option value="Gabon">Gabon</option> <option value="Gambia">Gambia</option> <option value="Georgia">Georgia</option> <option value="Germany">Germany</option> <option value="Ghana">Ghana</option> <option value="Gibraltar">Gibraltar</option> <option value="Greece">Greece</option> <option value="Greenland">Greenland</option> <option value="Grenada">Grenada</option> <option value="Guadeloupe">Guadeloupe</option> <option value="Guam">Guam</option> <option value="Guatemala">Guatemala</option> <option value="Guinea">Guinea</option> <option value="Guinea-bissau">Guinea-bissau</option> <option value="Guyana">Guyana</option> <option value="Haiti">Haiti</option> <option value="Heard Island And Mcdonald Islands">Heard Island And Mcdonald Islands</option> <option value="Holy See (vatican City State)">Holy See (vatican City State)</option> <option value="Honduras">Honduras</option> <option value="Hong Kong">Hong Kong</option> <option value="Hungary">Hungary</option> <option value="Iceland">Iceland</option> <option value="India">India</option> <option value="Indonesia">Indonesia</option> <option value="Iran - Islamic Republic Of">Iran - Islamic Republic Of</option> <option value="Iraq">Iraq</option> <option value="Ireland">Ireland</option> <option value="Israel">Israel</option> <option value="Italy">Italy</option> <option value="Jamaica">Jamaica</option> <option value="Japan">Japan</option> <option value="Jordan">Jordan</option> <option value="Kazakstan">Kazakstan</option> <option value="Kenya">Kenya</option> <option value="Kiribati">Kiribati</option> <option value="Korea - Democratic People's Republic Of">Korea - Democratic People's Republic Of</option> <option value="Korea - Republic Of">Korea - Republic Of</option> <option value="Kosovo">Kosovo</option> <option value="Kuwait">Kuwait</option> <option value="Kyrgyzstan">Kyrgyzstan</option> <option value="Lao People's Democratic Republic">Lao People's Democratic Republic</option> <option value="Latvia">Latvia</option> <option value="Lebanon">Lebanon</option> <option value="Lesotho">Lesotho</option> <option value="Liberia">Liberia</option> <option value="Libyan Arab Jamahiriya">Libyan Arab Jamahiriya</option> <option value="Liechtenstein">Liechtenstein</option> <option value="Lithuania">Lithuania</option> <option value="Luxembourg">Luxembourg</option> <option value="Macau">Macau</option> <option value="Macedonia - The Former Yugoslav Republic Of">Macedonia - The Former Yugoslav Republic Of</option> <option value="Madagascar">Madagascar</option> <option value="Malawi">Malawi</option> <option value="Malaysia">Malaysia</option> <option value="Maldives">Maldives</option> <option value="Mali">Mali</option> <option value="Malta">Malta</option> <option value="Marshall Islands">Marshall Islands</option> <option value="Martinique">Martinique</option> <option value="Mauritania">Mauritania</option> <option value="Mauritius">Mauritius</option> <option value="Mayotte">Mayotte</option> <option value="Mexico">Mexico</option> <option value="Micronesia - Federated States Of">Micronesia - Federated States Of</option> <option value="Moldova - Republic Of">Moldova - Republic Of</option> <option value="Monaco">Monaco</option> <option value="Mongolia">Mongolia</option> <option value="Montserrat">Montserrat</option> <option value="Montenegro">Montenegro</option> <option value="Morocco">Morocco</option> <option value="Mozambique">Mozambique</option> <option value="Myanmar">Myanmar</option> <option value="Namibia">Namibia</option> <option value="Nauru">Nauru</option> <option value="Nepal">Nepal</option> <option value="Netherlands">Netherlands</option> <option value="Netherlands Antilles">Netherlands Antilles</option> <option value="New Caledonia">New Caledonia</option> <option value="New Zealand">New Zealand</option> <option value="Nicaragua">Nicaragua</option> <option value="Niger">Niger</option> <option value="Nigeria">Nigeria</option> <option value="Niue">Niue</option> <option value="Norfolk Island">Norfolk Island</option> <option value="Northern Mariana Islands">Northern Mariana Islands</option> <option value="Norway">Norway</option> <option value="Oman">Oman</option> <option value="Pakistan">Pakistan</option> <option value="Palau">Palau</option> <option value="Palestinian Territory - Occupied">Palestinian Territory - Occupied</option> <option value="Panama">Panama</option> <option value="Papua New Guinea">Papua New Guinea</option> <option value="Paraguay">Paraguay</option> <option value="Peru">Peru</option> <option value="Philippines">Philippines</option> <option value="Pitcairn">Pitcairn</option> <option value="Poland">Poland</option> <option value="Portugal">Portugal</option> <option value="Puerto Rico">Puerto Rico</option> <option value="Qatar">Qatar</option> <option value="Reunion">Reunion</option> <option value="Romania">Romania</option> <option value="Russian Federation">Russian Federation</option> <option value="Rwanda">Rwanda</option> <option value="Saint Helena">Saint Helena</option> <option value="Saint Kitts And Nevis">Saint Kitts And Nevis</option> <option value="Saint Lucia">Saint Lucia</option> <option value="Saint Pierre And Miquelon">Saint Pierre And Miquelon</option> <option value="Saint Vincent And The Grenadines">Saint Vincent And The Grenadines</option> <option value="Samoa">Samoa</option> <option value="San Marino">San Marino</option> <option value="Sao Tome And Principe">Sao Tome And Principe</option> <option value="Saudi Arabia">Saudi Arabia</option> <option value="Senegal">Senegal</option> <option value="Serbia">Serbia</option> <option value="Seychelles">Seychelles</option> <option value="Sierra Leone">Sierra Leone</option> <option value="Singapore">Singapore</option> <option value="Slovakia">Slovakia</option> <option value="Slovenia">Slovenia</option> <option value="Solomon Islands">Solomon Islands</option> <option value="Somalia">Somalia</option> <option value="South Africa">South Africa</option> <option value="South Georgia And The South Sandwich Islands">South Georgia And The South Sandwich Islands</option> <option value="Spain">Spain</option> <option value="Sri Lanka">Sri Lanka</option> <option value="Sudan">Sudan</option> <option value="Suriname">Suriname</option> <option value="Svalbard And Jan Mayen">Svalbard And Jan Mayen</option> <option value="Swaziland">Swaziland</option> <option value="Sweden">Sweden</option> <option value="Switzerland">Switzerland</option> <option value="Syrian Arab Republic">Syrian Arab Republic</option> <option value="Taiwan - Province Of China">Taiwan - Province Of China</option> <option value="Tajikistan">Tajikistan</option> <option value="Tanzania - United Republic Of">Tanzania - United Republic Of</option> <option value="Thailand">Thailand</option> <option value="Togo">Togo</option> <option value="Tokelau">Tokelau</option> <option value="Tonga">Tonga</option> <option value="Trinidad And Tobago">Trinidad And Tobago</option> <option value="Tunisia">Tunisia</option> <option value="Turkey">Turkey</option> <option value="Turkmenistan">Turkmenistan</option> <option value="Turks And Caicos Islands">Turks And Caicos Islands</option> <option value="Tuvalu">Tuvalu</option> <option value="Uganda">Uganda</option> <option value="Ukraine">Ukraine</option> <option value="United Arab Emirates">United Arab Emirates</option> <option value="United Kingdom">United Kingdom</option> <option value="United States Minor Outlying Islands">United States Minor Outlying Islands</option> <option value="Uruguay">Uruguay</option> <option value="Uzbekistan">Uzbekistan</option> <option value="Vanuatu">Vanuatu</option> <option value="Venezuela">Venezuela</option> <option value="Viet Nam">Viet Nam</option> <option value="Virgin Islands - British">Virgin Islands - British</option> <option value="Virgin Islands - U.S.">Virgin Islands - U.S.</option> <option value="Wallis And Futuna">Wallis And Futuna</option> <option value="Western Sahara">Western Sahara</option> <option value="Yemen">Yemen</option> <option value="Zambia">Zambia</option> <option value="Zimbabwe">Zimbabwe</option> </select></td> </tr> <tr> <td class="formLabel"><label for="phone" style="font-weight: bold;"> <span style="font-weight: bold; color: #cc3300;"> * </span> Phone: </label></td> <td align="left" valign="middle" class="formField"><input class="medium" id="phone" name="phone" type="text"></td> </tr> </tbody> </table></td> <td align="center" valign="top"><table width="500" class="basic"> <tbody> <tr> <td class="formLabel"><strong>If you have been issued a <br> registration code, please enter it here</strong></td> <td align="left" valign="middle" class="formField"><input class="medium" id="registercode" name="registercode" type="text"></td> </tr> <tr> <td class="formLabel"><label for="role" style="font-weight: bold;"> <span style="font-weight: bold; color: #cc3300;"> </span>Your Role in Purchasing: </label></td> <td align="left" valign="middle" class="formField"><select name="role" class="medium" id="role"> <option selected="selected" value="">Please select one...</option> <option value="No Role">No Role</option> <option value="Recommend Solution">Recommend Solution</option> <option value="Final Decision">Final Decision</option> <option value="Evaluate/Specify">Evaluate/Specify</option> <option value="Determine Need">Determine Need</option> </select></td> </tr> <tr> <td class="formLabel"><label for="company_size" style="font-weight: bold;"> <span style="font-weight: bold; color: #cc3300;"> </span>Company Size: </label></td> <td align="left" valign="middle" class="formField"><select name="company_size" class="medium" id="company_size"> <option selected="selected" value="">Please select one...</option> <option value="Under 100">Under 100</option> <option value="100-499">100-499</option> <option value="500-999">500-999</option> <option value="1000-4999">1000-4999</option> <option value="5000+">5000+</option> </select></td> </tr> <tr> <td class="formLabel"><label for="industry_type" style="font-weight: bold;"> <span style="font-weight: bold; color: #cc3300;"> </span>Industry Type: </label></td> <td align="left" valign="middle" class="formField"><select name="industry_type" class="medium" id="industry_type"> <option selected="selected" value="">Please select one...</option> <option value= "Retail_Manufacturing">Retail/Manufacturing</option> <option value= "Public_Government">Public/Government</option> <option value= "Financial">Financial</option> <option value= "Technology">Technology</option> <option value= "Education">Education</option> <option value= "Healthcare">Healthcare</option> <option value= "Insurance">Insurance</option> <option value= "Services">Services</option> <option value= "Other">Other</option> </select></td> </tr> <tr> <td valign="middle" class="formLabel"><strong>Which technologies<br>would you like to see?</strong></td> <td align="left" valign="middle" class="formField"><input class="medium" id="technology" name="technology" type="text"></td> </tr> <tr> <td valign="middle" class="formLabel"><strong>Which vendors<br/>would you like to see?</strong></td> <td align="left" valign="middle" class="formField"><input class="medium" id="vendors" name="vendors" type="text"></td> </tr> <tr> <td valign="middle" class="formLabel"><strong>To which technology<br/>associations do you belong?</strong></td> <td align="left" valign="middle" class="formField"><input class="medium" id="tech_associations" name="tech_associations" type="text"></td> </tr> <tr> <td class="formLabel"><input value="1" id="speaker" name="speaker" type="checkbox"></td> <td align="left" valign="middle" class="formField">I may be interested in speaking opportunities</td> </tr> <tr> <td class="formLabel"><input value="1" id="offers" name="offers" checked="checked" type="checkbox"></td> <td align="left" valign="middle" class="formField">I wish to receive up-to-date offers (via email) from sponsors</td> </tr> <tr> <td class="formLabel"><input value="1" id="newsletter" name="newsletter" checked="checked" type="checkbox"></td> <td align="left" valign="middle" class="formField">I wish to subscribe to The IT Summit Newsletter<br> (Includes a complimentary drink ticket at the event)</td> </tr> <tr> <td class="formLabel"><input value="1" id="updates" name="updates" checked="checked" type="checkbox"></td> <td align="left" valign="middle" class="formField"><label for="updates">Please keep me informed about this and future events.</label></td> </tr> <?php if($row->organizations==1) {?> <tr style="display:none;"> <td class="formLabel"><input value="1" id="part_organizations" name="part_organizations" checked="checked" type="checkbox"></td> <td align="left" valign="middle" class="formField"><label for="part_organizations">Include in Participating Organizations.</label></td> </tr> <?php } ?> </tbody> </table></td> <td valign="top" width="15%"></td> </tr> <tr> <td class="formFooter" colspan="4"><input class="save" name="submitTest" value="Submit" type="submit"></td> </tr> </tbody> </table> </form> <script language="JavaScript" type="text/javascript"> var frmvalidator = new Validator("form1"); frmvalidator.addValidation("fname","req","Please enter your First Name."); frmvalidator.addValidation("lname","req","Please enter your Last Name."); frmvalidator.addValidation("company","req","Please enter your Company."); frmvalidator.addValidation("email","req","Please enter your Email."); frmvalidator.addValidation("email","email","Please enter valid Email."); frmvalidator.addValidation("email2","req","Please enter valid Verify Email."); frmvalidator.addValidation("email2","email","Please enter valid Verify Email."); frmvalidator.addValidation("title","req","Please enter your Professional Title."); frmvalidator.addValidation("address","req","Please enter your Address."); frmvalidator.addValidation("city","req","Please enter your City."); frmvalidator.addValidation("state","req","Please enter your State/Province."); frmvalidator.addValidation("zip","req","Please enter your Zip."); frmvalidator.addValidation("country","req","Please enter your Country."); frmvalidator.addValidation("phone","req","Please enter your Phone."); frmvalidator.addValidation("registration_type","req","Please enter your Registration Type."); frmvalidator.addValidation("role","req","Please select Your Role in Purchasing."); frmvalidator.addValidation("company_size","req","Please select your Company Size."); frmvalidator.addValidation("industry_type","req","Please select your Industry Type."); </script> </td> </tr> </table> <?php } ?>
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.