(Add your name)

"; if ($total== 0) { print "
At the moment there are no persons in the guestbook.


"; } elseif ($total> 0) { /* default */ $counter=0; if ($dir== "") $dir= "Next"; $lpp = $records; if ($offset==0) $offset=0; if ($dir== "Next") { if ($total > $lpp) { $counter=$offset; $offset+=$lpp; $num=$offset; if ($num > $total) { $num=$total; } } else { $num=$total; } } elseif ($dir== "Previous") { if ($total > $lpp) { $offset-=$lpp; if ($offset < 0) { $offset=0; } $counter=$offset-$lpp; if ($counter < 0) $counter=0; $num=$counter+$lpp; } else { $num=$total; } } while ($counter < $num) { $j=0; $j=$counter + 1; /* now really grab the data */ $i1=mysql_result($result,$counter,"firstname"); $i2=mysql_result($result,$counter,"lastname"); $i3=mysql_result($result,$counter,"country"); $i4=mysql_result($result,$counter,"referal"); $i5=mysql_result($result,$counter,"email"); $i6=mysql_result($result,$counter,"keywords"); /* print it in a nice layout */ print "
\n"; print "
\n"; print "
\n"; print "Name: $i1 $i2\n"; print "
Country: $i3\n"; print "
Referal Source: $i4\n"; print "
Email: $i5\n"; print "
\n"; print "
\n"; $counter++; } } mysql_close(); } /* execute the function */ search_it($name); /* See if we need to put on the NEXT or PREVIOUS buttons */ if ($total > $lpp) { echo( "
\n"); /* See if we need a PREVIOUS button */ if ($offset > $lpp) { echo( "\n"); } /* See if we need a NEXT button */ if ($offset < $total) { echo( "\n"); } echo( "\n"); echo( "\n"); echo( "
"); } } /* action=add : add the data from the user into the database */ if($action == "add") { $reset = reset($required); while (list($key, $value) = each($required)) { if($form[$value] == "") { $count++; } } if($count > 0) { ?>
                       We've Done Your Homework For You.

Get the first 12 pages free!

Preview the first 10 pages of the e-book free. Fill in the information below and click on the grey
Please review the form and
make sure you've filled out all the fields.
Thank you.
[  you must have forgotten to fill in some of the fields  ]



To get your free sample 10 pages, just type your info into the form below and click on the "Preview Free Sample" button below. This will open the gateway for you to view the first 10 pages of the ebook, online, instantly.
(we will never sell or rent your information)

First Name:
Last Name:
Country:
How'd you find us?
(i.e. which Search Engine or link?):
Keywords:
(i.e. which ones used in search?):
E-Mail Address:


 home
the e-book
is it healthy?
diet details
free sample
special offer
 have it all
the quiz
to order


", "Free Sample Registration", "$form[firstname] $form[lastname] ($form[email]) wrote the following message in the guestbook :
  
Name:$form[firstname] $form[lastname]
Country:$form[country]
Referal Source:$form[referal]
Email:$form[email]
keywords:$form[keywords]
", "From: $form[firstname] $form[lastname] <$form[email]>\nReply-To: $form[firstname] $form[lastname] <$form[email]>\nContent-type: text/html\nX-Mailer: PHP/" . phpversion()); } else { mail( "$admin_mail", "Free Sample Registration", "$form[firstname] $form[lastname] ($form[email]) registered to view the Free Sample e-book: \n\n Name: $form[firstname] $form[lastname] \n Country: $form[country] \n Referal Source: $form[referal] \n Email: $form[email] \n Keywords: $form[keywords] \n ", "From: $form[firstname] $form[lastname] <$form[email]>\nReply-To: $form[firstname] $form[lastname] <$form[email]>\nContent-type: text/plain\nX-Mailer: PHP/" . phpversion()); } $query = "INSERT INTO $table VALUES('','$form[firstname]','$form[lastname]','$form[country]','$form[referal]','$form[email]','$form[keywords]')"; $result = MYSQL_QUERY($query); ?>

Thank you, , for giving it a whirl!


Click on this line right HERE to view the free sample online now.

                       We've Done Your Homework For You.

Get the first 12 pages free!

Preview the first 10 pages of the e-book free. Fill in the information below and click on the grey
To get your free sample 10 pages, just type your info into the form below and click on the "Preview Free Sample" button below. This will open the gateway for you to view the first 10 pages of the ebook, online, instantly.
(we will never sell or rent your information)

First Name:
Last Name:
Country:
How'd you find us?
(i.e. which Search Engine or link?):
Keywords:
(i.e. which ones used in search?):
E-Mail Address:


 home
the e-book
is it healthy?
diet details
free sample
special offer
 have it all
the quiz
to order



                                           Script by Advanced IT Services Holland