Jump to content

[SOLVED] Switch


timmah1

Recommended Posts

I've been on here WAY to much lately, but this is the only place where people actually know what their talking about.

 

When I do this

switch($_GET['change']){

case 'password':
echo "
<form action=\"#\" method=\"post\">
<table width=\"500\" border=\"0\" cellpadding=\"4\" cellspacing=\"0\">
  	<tr>
    	<td>Current password:</td>
	<td><input name=\"current\" type=\"password\" class=\"textBox\"></td>
</tr>
<tr>
	<td>New password:</td>
	<td><input name=\"new\" type=\"password\" class=\"textBox\"></td>
</tr>
<tr>
	<td>Confirm new password:</td>
	<td><input name=\"confirm\" type=\"password\" class=\"textBox\"></td>
</tr>
<tr>
	<td></td>
	<td><input type=\"submit\" value=\"Change Password\" name=\"changepassword\"></td>
</tr>
</table>
</form>";
break;

 

The right side of my page gets cut off.

BUT, if I take out the

break;

the right side shows, but so does everything else within the switch.

 

Any idea why or how to fix it?

 

Thanks in advance

Link to comment
Share on other sites

ok, here is the entire page, just so you can see what I mean

Be warned, it is a site of the adult nature, no nudity, but just so you know

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title><?php echo $page['title']; ?></title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<META NAME="keywords" CONTENT="panty,sex,porn,panties,cocial,networking,bras,used,new,sex,pussy,tits,boobs,female,hardcore,softcore,videos,photos">
<META NAME="description" CONTENT="Selling your new and or used under garments.">
<META NAME="author" CONTENT="Tim Patterson">
<META NAME="ROBOTS" CONTENT="ALL">
<LINK REV="made" href="mailto:tpatterson@cheezyfries.net">

<script language="javascript" type="text/javascript" src="tinymce/jscripts/tiny_mce/tiny_mce.js"></script>
<script language="javascript" type="text/javascript">
tinyMCE.init({
mode : "textareas",
theme : "advanced"
});
</script>
</head>

<body leftmargin="0" topmargin="0" marginwidth="0" marginheight="0" align="center">
<table height="369"  border="0" align="center" cellpadding="0" cellspacing="0">
  <tr>
    <td height="200" align="right" valign="top" background="img/left-side.png"><img src="img/left-side.png" width="14" height="200" /></td>
    <td align="center" valign="top" bgcolor="#FFFFFF"><table  border="0" align="center" cellpadding="0" cellspacing="0">
      <tr>
        <td align="right" valign="top"><img src="img/header-top-lft.png" width="165" height="120" /></td>
        <td align="left" valign="top"><img src="img/header-right.png" width="635" height="120" /></td>
      </tr>
      <tr>
        <td align="right" valign="top"><img src="img/header-bot-lft.png" width="165" height="80" /></td>
        <td align="left" valign="top" bgcolor="#FFFFFF"><br></td>
      </tr>
    </table></td>
    <td align="left" valign="top" background="img/right-side.png"><img src="img/right-side.png" width="14" height="200" /></td>
  </tr>
  <tr>
    <td align="center" valign="top" background="img/left-side.png"> </td>
    <td align="center" valign="top" bgcolor="#FFFFFF">
<table width="750" height="600"  border="0" align="left" cellpadding="0" cellspacing="0">
      <tr>
        <td width="165" valign="top"><table width="100%"  border="0" cellspacing="0" cellpadding="3">
          <tr>
            <td><div align="center"><strong>Main Links </strong></div></td>
          </tr>
          <tr>
            <td><? include 'menus.php' ?></td>
          </tr>
          <tr>
            <td> </td>
          </tr>
          <tr>
            <td></td>
          </tr>
        </table></td>
        <td valign="top"><table width="100%" height="500"  border="0" cellpadding="4" cellspacing="0" class="fieldset">
          <tr>
            <td valign="top">
<?php

switch($_GET['change']){

case 'password':
echo "
<form action=\"#\" method=\"post\">
<table width=\"500\" border=\"0\" cellpadding=\"4\" cellspacing=\"0\">
  	<tr>
    	<td>Current password:</td>
	<td><input name=\"current\" type=\"password\" class=\"textBox\"></td>
</tr>
<tr>
	<td>New password:</td>
	<td><input name=\"new\" type=\"password\" class=\"textBox\"></td>
</tr>
<tr>
	<td>Confirm new password:</td>
	<td><input name=\"confirm\" type=\"password\" class=\"textBox\"></td>
</tr>
<tr>
	<td></td>
	<td><input type=\"submit\" value=\"Change Password\" name=\"changepassword\"></td>
</tr>
</table>
</form>";
break;

case 's-guide':
echo"
<table width=\"500\" border=\"0\" cellpadding=\"4\" cellspacing=\"0\">
  <tr>
    <td><p><strong>New to the adult selling business:</strong></p>
      <p> If you're new to the panty or adult product selling business. The first piece of advice you should follow is patience. Any seller will tell you that it's generally a slow start. You're "fresh meat" and instantly a "target" for your sense of being naive to the game. Those who have been around, know how to get around. You'll get there too, with a little patience and knowledge. The best first step you can take is becoming fimiliar with what "works". Check out other listings on the site, look at the "finess" other sellers are using, but don't immulate everything you see. Hot, fresh and sexy listings always attract new attention. Buyers are hungry for new and erotic ways to find pleasure. <strong>BE CREATIVE AND SEDUCTIVE</strong>.</p>
      <p>The key is to find and keep repeating customers. Happiness from the buyer counts, but don't sell yourself short for their happiness. Adding in too many extra favors, price reductions, etc allows them to come back, but take total advantage of you. Know what you are offering and offer it for what you want. If you want to throw in say, a few bonus pictures of you in the panties they purchase, <strong>EXCELLENT</strong>. A good way at keeping them craving more. But don't throw in a DVD, free pair of panties, and then reduce the price you were originally selling them for. This shows you are desperate for a sale and that will open the door for them to expect freebies.</p>
      <p>If you find in a few days you have not made a sale, change the angle of your pictures or spice up your listing with new wording., or add something simple as a few bonus pictures. Small changes sometimes result in a spontanious sale.<br>
      </p>
      <p><strong>Your obligation to the Buyer/Buyers obligation to you:</strong></p>
      <p>Should a buyer contact you and want to purchase your item. Make good with your end of the deal. You are expected to send your item out 2-7 days after payment has been made for it. The buyer provides the cost for shipping, so there is no good reason why you need more than 7 days. If you feel you cannot ship the item in that time frame, <strong>DO NOT</strong> list the item. Wait until you have appropriate time to complete the transaction. <strong>DO NOT</strong> ship item until your payment has been recieved. Buyers have 2-5 days to make payment for their item. If the buyer has not paid by the 6th day, Please contact us from the "contacts" page. We will notify the buyer of their pending transaction. If payment has not been made by the 8th day, you may re-list your item. If the buyer has a period of 2 "no pays", said buyer will be removed and banned from the site. We do not tolerate "dead beats" in any way.</p>
      <p>Should you fail to provide the buyer with his item in the time permitted, you will be notified. Should there be no attempts to resolve the situation, You will have the same "2 strikes" and be banned from the site. This site is for those who want to run a smooth business and be loyal with their customers.<br>
      </p>
      <p><strong>Accepting Payment:</strong></p>
      <p>MyPantyRaid and it's affilliates hold no financial responsibilty in your sales. Many women have different methods of payment they accept. We advise using a payment system that allows adult transactions. Some women use payment methods that DO not allow adult transactions, should you go this route, be very discreet. Services such as Paypal will terminate your account with them if they find you are using them for adult transactions. Getting a PO Box to accept cash, money orders or cashier checks works well too, but the payment time is slower. NEVER have a payment sent to your physical home address, It's like sending a predator to a candy store. The best method is to search Google for Adult payouts. Do a little homework and pick what's best for you. If you're still stuck, ask other sellers on the site what they recommend.<br>
      </p>
      <p><strong>How to cover your ass:</strong></p>
      <p>Again, MyPantyRaid and it's affillates hold no financial responsibility to your transactions. Sometimes you find a "deadbeat" payer, So what do you do? It is <strong>HIGHLY</strong> recommended that you ship all items with delivery confirmation. This is usually under $1 and protects your ass more than you know. Should you ship your item and payment is retracted, or the buyer claims to have never recieved it, the delivery confirmation can help you in TWO ways:</p>
      <ul>
        <li> This aids in proof against a buyer for us in determining if the user should be banned.</li>
        <li> The provider in which you recieved an original payment from will be able to dispute the claim in your favor.</li>
      </ul>      
      <p>MyPantyRaid does not offer refunds/chargebacks or any financial restitution should you encounter a deadbeat. We simply provide you with the means to make a sale. </p>
      <p>Our delivery confirmation method (which is able to be entered into the site's database, then confirmed and sent to the buyer,) is also a means to show we are putting our foot down. This will act as a scare tactic to those buyers who even think about getting something for free, reducing your risk.</p>
      <p>Should you encounter a problem with a deadbeat, contact us from the "contacts" page and we will investigate your situation.<br>
      </p>
      <p><strong>What you can/cannot sell:</strong></p>
      <ul><li>Child Porn/Underage Minors <br>
    Including items that suggest or imply. <br>
        <li>Humans or People <br>
                </li>
        <li>Incest Items; either real or implied <br>
        <li>Human or animal bodily fluids <br>
    in the form of urine, semen, blood. <br>
        <li>\"Scat\" Items of any kind <br>
    Including items the depict or contain \"scat\" <br>
        <li>Prescription Drugs <br>
    This includes any type of drug or medication banned in the United States. <br>
        <li>Body Parts <br>
        <li>Bestiality of <strong>ANY </strong> kind <br>
        <li>Firearms <br>
        <li>Explosives <br>
        <li>Fireworks <br>
        <li>Animals of <strong>ANY </strong> kind <br>
        <li>Auctions for <strong>ANY </strong> type of sex. <br>
    For example, oral, anal or otherwise. <br>        
        <li>Any type of listing that does not have an actual item 
      </ul>      
      <p>Items of this nature are <strong>not allowed </strong> on MyPantyRaid. If you are found listing items that in any way represent, imply or otherwise give the general impression of, your listing will be cancelled and your account banned. Only <strong>ONE</strong> infraction of this will get you banned. In other words, don't list items that are prohibited if you want to keep your account here. We've seen Sellers try to sell some of these items anyway. If you feel you must sell these types of items, and we catch you, your account will be banned and your local authorities will be notified.</p>      <p>The <strong>BIGGEST</strong> Illegal issue we've seen frequently is advertising "underage" panties, IE. "My little sisters panties". Just make sure your sister is 18 years of age or older, and even if she is 18, we know good and well she doesn't wear a size 2 with My Little Pony  on it. Unless you want jail time and a TV appearance on Dateline, don't do it. </p>
      <p>Copyrighted images and materials are <strong>NOT</strong> permitted. If you are 'faking the funk", the first thing that will occur is Buyers will make your selling life hell. Not only that, but we'll be mad as all hell and ban you instantly. I don't need anyone suing us over <strong>YOU</strong> using their images. Buyers want a real person with real items. The more real you appear to be, the better your sales are going to be.</p>
      <p>Everything else is free game. We are not limited to just panties, but it is the main source of the site. Stockings, porn, video's, pictures, whatever you can creatively think of is acceptable to sell, as long as it is not illegal in any shape or form. If you aren't sure if something is illegal or not. <strong>CHECK!.</strong><br>
      Google can give you immediatly answers.</p>
  </td>
  </tr>
</table>";
break;

case 'list':
echo"
<form action=\"#\" method=\"post\">
	List Your Item:<br>
<table width=\"500\" border=\"0\" cellpadding=\"4\" cellspacing=\"0\" class=\"fieldset\">
  <tr valign=\"top\">
    <td width=\"29%\">Title</td>
    <td width=\"71%\"><input type=\"text\" name=\"textfield\"></td>
  </tr>
  <tr valign=\"top\">
    <td>Category</td>
    <td><input type=\"text\" name=\"textfield2\"></td>
  </tr>
  <tr valign=\"top\">
    <td>Description</td>
    <td><textarea name=\"textfield3\" cols=\"50\" rows=\"10\"></textarea></td>
  </tr>
  <tr>
    <td> </td>
    <td><input type=\"submit\" name=\"Submit\" value=\"List Item\" /> <input type=\"reset\" name=\"Submit2\" value=\"Reset Form\" /></td>
  </tr>
</table>
</form>";
break;

case 'email':
echo"
WARNING! - By changing your email address you will have to re-validate. Make sure you email address is 100% correct.</p>
	<form action=\"#\" method=\"post\">
<table width=\"500\" border=\"0\" cellpadding=\"4\" cellspacing=\"0\">
  	<tr>
    	<td>Current email:</td>
	<td><input name=\"current\" type=\"text\" class=\"textBox\"></td>
</tr>
<tr>
	<td>New email:</td>
	<td><input name=\"new\" type=\"text\" class=\"textBox\"></td>
</tr>
	<td>Confirm new email:</td>
	<td><input name=\"confirm\" type=\"text\" class=\"textBox\"></td>
</tr>
<tr>
	<td></td>
	<td><input type=\"submit\" value=\"Change Email\" name=\"changeemail\"></td>
  	</tr>
</table>
</form>	";
break;

case 'account':
echo "
WARNING - By closing your account, you will not be able to login again under this account. Press the button below to confirm you wish to close your account</p>
<form action=\"#\" method=\"post\">
<table width=\"500\" border=\"0\" cellspacing=\"0\" cellpadding=\"4\">
  <tr>
    <td><input type=\"submit\" value=\"Close Account\" name=\"closeaccount\"></td>
  </tr>
</table>
</form>";
break;

default:
echo"
<table width=\"500\" border=\"0\" cellspacing=\"0\" cellpadding=\"4\">
  <tr>
    <td>Welcome to the super secret members only control panel!</td>
  </tr>
</table>";

?>
</td>
          </tr>
        </table></td>
      </tr>
    </table></td>
    <td align="center" valign="top" background="img/right-side.png"> </td>
  </tr>

  <tr>
    <td align="center" valign="top" background="img/left-side.png"> </td>
    <td align="center" valign="bottom" bgcolor="#FFFFFF"><img src="img/footer.png" width="800" height="50" /></td>
    <td align="center" valign="top" background="img/right-side.png"> </td>
  </tr>
</table>
</body>
</html>
<?php

}

} 
else {
/*echo $_SESSION['s_logged_n'].'b';
echo $_SESSION['s_username'].'c';
echo $_SESSION['s_name'].'d';*/
header("Location: main.php?cid=login");
}

?>

Link to comment
Share on other sites

Should be:

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title><?php echo $page['title']; ?></title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<META NAME="keywords" CONTENT="panty,sex,porn,panties,cocial,networking,bras,used,new,sex,pussy,tits,boobs,female,hardcore,softcore,videos,photos">
<META NAME="description" CONTENT="Selling your new and or used under garments.">
<META NAME="author" CONTENT="Tim Patterson">
<META NAME="ROBOTS" CONTENT="ALL">
<LINK REV="made" href="mailto:tpatterson@cheezyfries.net">

<script language="javascript" type="text/javascript" src="tinymce/jscripts/tiny_mce/tiny_mce.js"></script>
<script language="javascript" type="text/javascript">
tinyMCE.init({
mode : "textareas",
theme : "advanced"
});
</script>
</head>

<body leftmargin="0" topmargin="0" marginwidth="0" marginheight="0" align="center">
<table height="369"  border="0" align="center" cellpadding="0" cellspacing="0">
  <tr>
    <td height="200" align="right" valign="top" background="img/left-side.png"><img src="img/left-side.png" width="14" height="200" /></td>
    <td align="center" valign="top" bgcolor="#FFFFFF"><table  border="0" align="center" cellpadding="0" cellspacing="0">
      <tr>
        <td align="right" valign="top"><img src="img/header-top-lft.png" width="165" height="120" /></td>
        <td align="left" valign="top"><img src="img/header-right.png" width="635" height="120" /></td>
      </tr>
      <tr>
        <td align="right" valign="top"><img src="img/header-bot-lft.png" width="165" height="80" /></td>
        <td align="left" valign="top" bgcolor="#FFFFFF"><br></td>
      </tr>
    </table></td>
    <td align="left" valign="top" background="img/right-side.png"><img src="img/right-side.png" width="14" height="200" /></td>
  </tr>
  <tr>
    <td align="center" valign="top" background="img/left-side.png"> </td>
    <td align="center" valign="top" bgcolor="#FFFFFF">
<table width="750" height="600"  border="0" align="left" cellpadding="0" cellspacing="0">
      <tr>
        <td width="165" valign="top"><table width="100%"  border="0" cellspacing="0" cellpadding="3">
          <tr>
            <td><div align="center"><strong>Main Links </strong></div></td>
          </tr>
          <tr>
            <td><? include 'menus.php' ?></td>
          </tr>
          <tr>
            <td> </td>
          </tr>
          <tr>
            <td></td>
          </tr>
        </table></td>
        <td valign="top"><table width="100%" height="500"  border="0" cellpadding="4" cellspacing="0" class="fieldset">
          <tr>
            <td valign="top">
<?php

switch($_GET['change']){

case 'password':
echo "
<form action=\"#\" method=\"post\">
<table width=\"500\" border=\"0\" cellpadding=\"4\" cellspacing=\"0\">
  	<tr>
    	<td>Current password:</td>
	<td><input name=\"current\" type=\"password\" class=\"textBox\"></td>
</tr>
<tr>
	<td>New password:</td>
	<td><input name=\"new\" type=\"password\" class=\"textBox\"></td>
</tr>
<tr>
	<td>Confirm new password:</td>
	<td><input name=\"confirm\" type=\"password\" class=\"textBox\"></td>
</tr>
<tr>
	<td></td>
	<td><input type=\"submit\" value=\"Change Password\" name=\"changepassword\"></td>
</tr>
</table>
</form>";
break;

case 's-guide':
echo"
<table width=\"500\" border=\"0\" cellpadding=\"4\" cellspacing=\"0\">
  <tr>
    <td><p><strong>New to the adult selling business:</strong></p>
      <p> If you're new to the panty or adult product selling business. The first piece of advice you should follow is patience. Any seller will tell you that it's generally a slow start. You're "fresh meat" and instantly a "target" for your sense of being naive to the game. Those who have been around, know how to get around. You'll get there too, with a little patience and knowledge. The best first step you can take is becoming fimiliar with what "works". Check out other listings on the site, look at the "finess" other sellers are using, but don't immulate everything you see. Hot, fresh and sexy listings always attract new attention. Buyers are hungry for new and erotic ways to find pleasure. <strong>BE CREATIVE AND SEDUCTIVE</strong>.</p>
      <p>The key is to find and keep repeating customers. Happiness from the buyer counts, but don't sell yourself short for their happiness. Adding in too many extra favors, price reductions, etc allows them to come back, but take total advantage of you. Know what you are offering and offer it for what you want. If you want to throw in say, a few bonus pictures of you in the panties they purchase, <strong>EXCELLENT</strong>. A good way at keeping them craving more. But don't throw in a DVD, free pair of panties, and then reduce the price you were originally selling them for. This shows you are desperate for a sale and that will open the door for them to expect freebies.</p>
      <p>If you find in a few days you have not made a sale, change the angle of your pictures or spice up your listing with new wording., or add something simple as a few bonus pictures. Small changes sometimes result in a spontanious sale.<br>
      </p>
      <p><strong>Your obligation to the Buyer/Buyers obligation to you:</strong></p>
      <p>Should a buyer contact you and want to purchase your item. Make good with your end of the deal. You are expected to send your item out 2-7 days after payment has been made for it. The buyer provides the cost for shipping, so there is no good reason why you need more than 7 days. If you feel you cannot ship the item in that time frame, <strong>DO NOT</strong> list the item. Wait until you have appropriate time to complete the transaction. <strong>DO NOT</strong> ship item until your payment has been recieved. Buyers have 2-5 days to make payment for their item. If the buyer has not paid by the 6th day, Please contact us from the "contacts" page. We will notify the buyer of their pending transaction. If payment has not been made by the 8th day, you may re-list your item. If the buyer has a period of 2 "no pays", said buyer will be removed and banned from the site. We do not tolerate "dead beats" in any way.</p>
      <p>Should you fail to provide the buyer with his item in the time permitted, you will be notified. Should there be no attempts to resolve the situation, You will have the same "2 strikes" and be banned from the site. This site is for those who want to run a smooth business and be loyal with their customers.<br>
      </p>
      <p><strong>Accepting Payment:</strong></p>
      <p>MyPantyRaid and it's affilliates hold no financial responsibilty in your sales. Many women have different methods of payment they accept. We advise using a payment system that allows adult transactions. Some women use payment methods that DO not allow adult transactions, should you go this route, be very discreet. Services such as Paypal will terminate your account with them if they find you are using them for adult transactions. Getting a PO Box to accept cash, money orders or cashier checks works well too, but the payment time is slower. NEVER have a payment sent to your physical home address, It's like sending a predator to a candy store. The best method is to search Google for Adult payouts. Do a little homework and pick what's best for you. If you're still stuck, ask other sellers on the site what they recommend.<br>
      </p>
      <p><strong>How to cover your ass:</strong></p>
      <p>Again, MyPantyRaid and it's affillates hold no financial responsibility to your transactions. Sometimes you find a "deadbeat" payer, So what do you do? It is <strong>HIGHLY</strong> recommended that you ship all items with delivery confirmation. This is usually under $1 and protects your ass more than you know. Should you ship your item and payment is retracted, or the buyer claims to have never recieved it, the delivery confirmation can help you in TWO ways:</p>
      <ul>
        <li> This aids in proof against a buyer for us in determining if the user should be banned.</li>
        <li> The provider in which you recieved an original payment from will be able to dispute the claim in your favor.</li>
      </ul>      
      <p>MyPantyRaid does not offer refunds/chargebacks or any financial restitution should you encounter a deadbeat. We simply provide you with the means to make a sale. </p>
      <p>Our delivery confirmation method (which is able to be entered into the site's database, then confirmed and sent to the buyer,) is also a means to show we are putting our foot down. This will act as a scare tactic to those buyers who even think about getting something for free, reducing your risk.</p>
      <p>Should you encounter a problem with a deadbeat, contact us from the "contacts" page and we will investigate your situation.<br>
      </p>
      <p><strong>What you can/cannot sell:</strong></p>
      <ul><li>Child Porn/Underage Minors <br>
    Including items that suggest or imply. <br>
        <li>Humans or People <br>
                </li>
        <li>Incest Items; either real or implied <br>
        <li>Human or animal bodily fluids <br>
    in the form of urine, semen, blood. <br>
        <li>\"Scat\" Items of any kind <br>
    Including items the depict or contain \"scat\" <br>
        <li>Prescription Drugs <br>
    This includes any type of drug or medication banned in the United States. <br>
        <li>Body Parts <br>
        <li>Bestiality of <strong>ANY </strong> kind <br>
        <li>Firearms <br>
        <li>Explosives <br>
        <li>Fireworks <br>
        <li>Animals of <strong>ANY </strong> kind <br>
        <li>Auctions for <strong>ANY </strong> type of sex. <br>
    For example, oral, anal or otherwise. <br>        
        <li>Any type of listing that does not have an actual item 
      </ul>      
      <p>Items of this nature are <strong>not allowed </strong> on MyPantyRaid. If you are found listing items that in any way represent, imply or otherwise give the general impression of, your listing will be cancelled and your account banned. Only <strong>ONE</strong> infraction of this will get you banned. In other words, don't list items that are prohibited if you want to keep your account here. We've seen Sellers try to sell some of these items anyway. If you feel you must sell these types of items, and we catch you, your account will be banned and your local authorities will be notified.</p>      <p>The <strong>BIGGEST</strong> Illegal issue we've seen frequently is advertising "underage" panties, IE. "My little sisters panties". Just make sure your sister is 18 years of age or older, and even if she is 18, we know good and well she doesn't wear a size 2 with My Little Pony  on it. Unless you want jail time and a TV appearance on Dateline, don't do it. </p>
      <p>Copyrighted images and materials are <strong>NOT</strong> permitted. If you are 'faking the funk", the first thing that will occur is Buyers will make your selling life hell. Not only that, but we'll be mad as all hell and ban you instantly. I don't need anyone suing us over <strong>YOU</strong> using their images. Buyers want a real person with real items. The more real you appear to be, the better your sales are going to be.</p>
      <p>Everything else is free game. We are not limited to just panties, but it is the main source of the site. Stockings, porn, video's, pictures, whatever you can creatively think of is acceptable to sell, as long as it is not illegal in any shape or form. If you aren't sure if something is illegal or not. <strong>CHECK!.</strong><br>
      Google can give you immediatly answers.</p>
  </td>
  </tr>
</table>";
break;

case 'list':
echo"
<form action=\"#\" method=\"post\">
	List Your Item:<br>
<table width=\"500\" border=\"0\" cellpadding=\"4\" cellspacing=\"0\" class=\"fieldset\">
  <tr valign=\"top\">
    <td width=\"29%\">Title</td>
    <td width=\"71%\"><input type=\"text\" name=\"textfield\"></td>
  </tr>
  <tr valign=\"top\">
    <td>Category</td>
    <td><input type=\"text\" name=\"textfield2\"></td>
  </tr>
  <tr valign=\"top\">
    <td>Description</td>
    <td><textarea name=\"textfield3\" cols=\"50\" rows=\"10\"></textarea></td>
  </tr>
  <tr>
    <td> </td>
    <td><input type=\"submit\" name=\"Submit\" value=\"List Item\" /> <input type=\"reset\" name=\"Submit2\" value=\"Reset Form\" /></td>
  </tr>
</table>
</form>";
break;

case 'email':
echo"
WARNING! - By changing your email address you will have to re-validate. Make sure you email address is 100% correct.</p>
	<form action=\"#\" method=\"post\">
<table width=\"500\" border=\"0\" cellpadding=\"4\" cellspacing=\"0\">
  	<tr>
    	<td>Current email:</td>
	<td><input name=\"current\" type=\"text\" class=\"textBox\"></td>
</tr>
<tr>
	<td>New email:</td>
	<td><input name=\"new\" type=\"text\" class=\"textBox\"></td>
</tr>
	<td>Confirm new email:</td>
	<td><input name=\"confirm\" type=\"text\" class=\"textBox\"></td>
</tr>
<tr>
	<td></td>
	<td><input type=\"submit\" value=\"Change Email\" name=\"changeemail\"></td>
  	</tr>
</table>
</form>	";
break;

case 'account':
echo "
WARNING - By closing your account, you will not be able to login again under this account. Press the button below to confirm you wish to close your account</p>
<form action=\"#\" method=\"post\">
<table width=\"500\" border=\"0\" cellspacing=\"0\" cellpadding=\"4\">
  <tr>
    <td><input type=\"submit\" value=\"Close Account\" name=\"closeaccount\"></td>
  </tr>
</table>
</form>";
break;

default:
echo"
<table width=\"500\" border=\"0\" cellspacing=\"0\" cellpadding=\"4\">
  <tr>
    <td>Welcome to the super secret members only control panel!</td>
  </tr>
</table>";

?>
</td>
          </tr>
        </table></td>
      </tr>
    </table></td>
    <td align="center" valign="top" background="img/right-side.png"> </td>
  </tr>

  <tr>
    <td align="center" valign="top" background="img/left-side.png"> </td>
    <td align="center" valign="bottom" bgcolor="#FFFFFF"><img src="img/footer.png" width="800" height="50" /></td>
    <td align="center" valign="top" background="img/right-side.png"> </td>
  </tr>
</table>
</body>
</html>
<?php


} 
else {
/*echo $_SESSION['s_logged_n'].'b';
echo $_SESSION['s_username'].'c';
echo $_SESSION['s_name'].'d';*/
header("Location: main.php?cid=login");
}

?>

I think

Link to comment
Share on other sites

try this

 

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title><?php echo $page['title']; ?></title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<META NAME="keywords" CONTENT="panty,sex,porn,panties,cocial,networking,bras,used,new,sex,pussy,tits,boobs,female,hardcore,softcore,videos,photos">
<META NAME="description" CONTENT="Selling your new and or used under garments.">
<META NAME="author" CONTENT="Tim Patterson">
<META NAME="ROBOTS" CONTENT="ALL">
<LINK REV="made" href="mailto:tpatterson@cheezyfries.net">

<script language="javascript" type="text/javascript" src="tinymce/jscripts/tiny_mce/tiny_mce.js"></script>
<script language="javascript" type="text/javascript">
tinyMCE.init({
mode : "textareas",
theme : "advanced"
});
</script>
</head>

<body leftmargin="0" topmargin="0" marginwidth="0" marginheight="0" align="center">
<table height="369"  border="0" align="center" cellpadding="0" cellspacing="0">
  <tr>
    <td height="200" align="right" valign="top" background="img/left-side.png"><img src="img/left-side.png" width="14" height="200" /></td>
    <td align="center" valign="top" bgcolor="#FFFFFF"><table  border="0" align="center" cellpadding="0" cellspacing="0">
      <tr>
        <td align="right" valign="top"><img src="img/header-top-lft.png" width="165" height="120" /></td>
        <td align="left" valign="top"><img src="img/header-right.png" width="635" height="120" /></td>
      </tr>
      <tr>
        <td align="right" valign="top"><img src="img/header-bot-lft.png" width="165" height="80" /></td>
        <td align="left" valign="top" bgcolor="#FFFFFF"><br></td>
      </tr>
    </table></td>
    <td align="left" valign="top" background="img/right-side.png"><img src="img/right-side.png" width="14" height="200" /></td>
  </tr>
  <tr>
    <td align="center" valign="top" background="img/left-side.png"> </td>
    <td align="center" valign="top" bgcolor="#FFFFFF">
<table width="750" height="600"  border="0" align="left" cellpadding="0" cellspacing="0">
      <tr>
        <td width="165" valign="top"><table width="100%"  border="0" cellspacing="0" cellpadding="3">
          <tr>
            <td><div align="center"><strong>Main Links </strong></div></td>
          </tr>
          <tr>
            <td><? include 'menus.php' ?></td>
          </tr>
          <tr>
            <td> </td>
          </tr>
          <tr>
            <td></td>
          </tr>
        </table></td>
        <td valign="top"><table width="100%" height="500"  border="0" cellpadding="4" cellspacing="0" class="fieldset">
          <tr>
            <td valign="top">
<?php

switch($_GET['change']){

case 'password':
echo "
<form action=\"#\" method=\"post\">
<table width=\"500\" border=\"0\" cellpadding=\"4\" cellspacing=\"0\">
  	<tr>
    	<td>Current password:</td>
	<td><input name=\"current\" type=\"password\" class=\"textBox\"></td>
</tr>
<tr>
	<td>New password:</td>
	<td><input name=\"new\" type=\"password\" class=\"textBox\"></td>
</tr>
<tr>
	<td>Confirm new password:</td>
	<td><input name=\"confirm\" type=\"password\" class=\"textBox\"></td>
</tr>
<tr>
	<td></td>
	<td><input type=\"submit\" value=\"Change Password\" name=\"changepassword\"></td>
</tr>
</table>
</form>";
break;

case 's-guide':
echo"
<table width=\"500\" border=\"0\" cellpadding=\"4\" cellspacing=\"0\">
  <tr>
    <td><p><strong>New to the adult selling business:</strong></p>
      <p> If you're new to the panty or adult product selling business. The first piece of advice you should follow is patience. Any seller will tell you that it's generally a slow start. You're "fresh meat" and instantly a "target" for your sense of being naive to the game. Those who have been around, know how to get around. You'll get there too, with a little patience and knowledge. The best first step you can take is becoming fimiliar with what "works". Check out other listings on the site, look at the "finess" other sellers are using, but don't immulate everything you see. Hot, fresh and sexy listings always attract new attention. Buyers are hungry for new and erotic ways to find pleasure. <strong>BE CREATIVE AND SEDUCTIVE</strong>.</p>
      <p>The key is to find and keep repeating customers. Happiness from the buyer counts, but don't sell yourself short for their happiness. Adding in too many extra favors, price reductions, etc allows them to come back, but take total advantage of you. Know what you are offering and offer it for what you want. If you want to throw in say, a few bonus pictures of you in the panties they purchase, <strong>EXCELLENT</strong>. A good way at keeping them craving more. But don't throw in a DVD, free pair of panties, and then reduce the price you were originally selling them for. This shows you are desperate for a sale and that will open the door for them to expect freebies.</p>
      <p>If you find in a few days you have not made a sale, change the angle of your pictures or spice up your listing with new wording., or add something simple as a few bonus pictures. Small changes sometimes result in a spontanious sale.<br>
      </p>
      <p><strong>Your obligation to the Buyer/Buyers obligation to you:</strong></p>
      <p>Should a buyer contact you and want to purchase your item. Make good with your end of the deal. You are expected to send your item out 2-7 days after payment has been made for it. The buyer provides the cost for shipping, so there is no good reason why you need more than 7 days. If you feel you cannot ship the item in that time frame, <strong>DO NOT</strong> list the item. Wait until you have appropriate time to complete the transaction. <strong>DO NOT</strong> ship item until your payment has been recieved. Buyers have 2-5 days to make payment for their item. If the buyer has not paid by the 6th day, Please contact us from the "contacts" page. We will notify the buyer of their pending transaction. If payment has not been made by the 8th day, you may re-list your item. If the buyer has a period of 2 "no pays", said buyer will be removed and banned from the site. We do not tolerate "dead beats" in any way.</p>
      <p>Should you fail to provide the buyer with his item in the time permitted, you will be notified. Should there be no attempts to resolve the situation, You will have the same "2 strikes" and be banned from the site. This site is for those who want to run a smooth business and be loyal with their customers.<br>
      </p>
      <p><strong>Accepting Payment:</strong></p>
      <p>MyPantyRaid and it's affilliates hold no financial responsibilty in your sales. Many women have different methods of payment they accept. We advise using a payment system that allows adult transactions. Some women use payment methods that DO not allow adult transactions, should you go this route, be very discreet. Services such as Paypal will terminate your account with them if they find you are using them for adult transactions. Getting a PO Box to accept cash, money orders or cashier checks works well too, but the payment time is slower. NEVER have a payment sent to your physical home address, It's like sending a predator to a candy store. The best method is to search Google for Adult payouts. Do a little homework and pick what's best for you. If you're still stuck, ask other sellers on the site what they recommend.<br>
      </p>
      <p><strong>How to cover your ass:</strong></p>
      <p>Again, MyPantyRaid and it's affillates hold no financial responsibility to your transactions. Sometimes you find a "deadbeat" payer, So what do you do? It is <strong>HIGHLY</strong> recommended that you ship all items with delivery confirmation. This is usually under $1 and protects your ass more than you know. Should you ship your item and payment is retracted, or the buyer claims to have never recieved it, the delivery confirmation can help you in TWO ways:</p>
      <ul>
        <li> This aids in proof against a buyer for us in determining if the user should be banned.</li>
        <li> The provider in which you recieved an original payment from will be able to dispute the claim in your favor.</li>
      </ul>      
      <p>MyPantyRaid does not offer refunds/chargebacks or any financial restitution should you encounter a deadbeat. We simply provide you with the means to make a sale. </p>
      <p>Our delivery confirmation method (which is able to be entered into the site's database, then confirmed and sent to the buyer,) is also a means to show we are putting our foot down. This will act as a scare tactic to those buyers who even think about getting something for free, reducing your risk.</p>
      <p>Should you encounter a problem with a deadbeat, contact us from the "contacts" page and we will investigate your situation.<br>
      </p>
      <p><strong>What you can/cannot sell:</strong></p>
      <ul><li>Child Porn/Underage Minors <br>
    Including items that suggest or imply. <br>
        <li>Humans or People <br>
                </li>
        <li>Incest Items; either real or implied <br>
        <li>Human or animal bodily fluids <br>
    in the form of urine, semen, blood. <br>
        <li>\"Scat\" Items of any kind <br>
    Including items the depict or contain \"scat\" <br>
        <li>Prescription Drugs <br>
    This includes any type of drug or medication banned in the United States. <br>
        <li>Body Parts <br>
        <li>Bestiality of <strong>ANY </strong> kind <br>
        <li>Firearms <br>
        <li>Explosives <br>
        <li>Fireworks <br>
        <li>Animals of <strong>ANY </strong> kind <br>
        <li>Auctions for <strong>ANY </strong> type of sex. <br>
    For example, oral, anal or otherwise. <br>        
        <li>Any type of listing that does not have an actual item 
      </ul>      
      <p>Items of this nature are <strong>not allowed </strong> on MyPantyRaid. If you are found listing items that in any way represent, imply or otherwise give the general impression of, your listing will be cancelled and your account banned. Only <strong>ONE</strong> infraction of this will get you banned. In other words, don't list items that are prohibited if you want to keep your account here. We've seen Sellers try to sell some of these items anyway. If you feel you must sell these types of items, and we catch you, your account will be banned and your local authorities will be notified.</p>      <p>The <strong>BIGGEST</strong> Illegal issue we've seen frequently is advertising "underage" panties, IE. "My little sisters panties". Just make sure your sister is 18 years of age or older, and even if she is 18, we know good and well she doesn't wear a size 2 with My Little Pony  on it. Unless you want jail time and a TV appearance on Dateline, don't do it. </p>
      <p>Copyrighted images and materials are <strong>NOT</strong> permitted. If you are 'faking the funk", the first thing that will occur is Buyers will make your selling life hell. Not only that, but we'll be mad as all hell and ban you instantly. I don't need anyone suing us over <strong>YOU</strong> using their images. Buyers want a real person with real items. The more real you appear to be, the better your sales are going to be.</p>
      <p>Everything else is free game. We are not limited to just panties, but it is the main source of the site. Stockings, porn, video's, pictures, whatever you can creatively think of is acceptable to sell, as long as it is not illegal in any shape or form. If you aren't sure if something is illegal or not. <strong>CHECK!.</strong><br>
      Google can give you immediatly answers.</p>
  </td>
  </tr>
</table>";
break;

case 'list':
echo"
<form action=\"#\" method=\"post\">
	List Your Item:<br>
<table width=\"500\" border=\"0\" cellpadding=\"4\" cellspacing=\"0\" class=\"fieldset\">
  <tr valign=\"top\">
    <td width=\"29%\">Title</td>
    <td width=\"71%\"><input type=\"text\" name=\"textfield\"></td>
  </tr>
  <tr valign=\"top\">
    <td>Category</td>
    <td><input type=\"text\" name=\"textfield2\"></td>
  </tr>
  <tr valign=\"top\">
    <td>Description</td>
    <td><textarea name=\"textfield3\" cols=\"50\" rows=\"10\"></textarea></td>
  </tr>
  <tr>
    <td> </td>
    <td><input type=\"submit\" name=\"Submit\" value=\"List Item\" /> <input type=\"reset\" name=\"Submit2\" value=\"Reset Form\" /></td>
  </tr>
</table>
</form>";
break;

case 'email':
echo"
WARNING! - By changing your email address you will have to re-validate. Make sure you email address is 100% correct.</p>
	<form action=\"#\" method=\"post\">
<table width=\"500\" border=\"0\" cellpadding=\"4\" cellspacing=\"0\">
  	<tr>
    	<td>Current email:</td>
	<td><input name=\"current\" type=\"text\" class=\"textBox\"></td>
</tr>
<tr>
	<td>New email:</td>
	<td><input name=\"new\" type=\"text\" class=\"textBox\"></td>
</tr>
	<td>Confirm new email:</td>
	<td><input name=\"confirm\" type=\"text\" class=\"textBox\"></td>
</tr>
<tr>
	<td></td>
	<td><input type=\"submit\" value=\"Change Email\" name=\"changeemail\"></td>
  	</tr>
</table>
</form>	";
break;

case 'account':
echo "
WARNING - By closing your account, you will not be able to login again under this account. Press the button below to confirm you wish to close your account</p>
<form action=\"#\" method=\"post\">
<table width=\"500\" border=\"0\" cellspacing=\"0\" cellpadding=\"4\">
  <tr>
    <td><input type=\"submit\" value=\"Close Account\" name=\"closeaccount\"></td>
  </tr>
</table>
</form>";
break;

default:
echo"
<table width=\"500\" border=\"0\" cellspacing=\"0\" cellpadding=\"4\">
  <tr>
    <td>Welcome to the super secret members only control panel!</td>
  </tr>
</table>";
}
?>
</td>
          </tr>
        </table></td>
      </tr>
    </table></td>
    <td align="center" valign="top" background="img/right-side.png"> </td>
  </tr>

  <tr>
    <td align="center" valign="top" background="img/left-side.png"> </td>
    <td align="center" valign="bottom" bgcolor="#FFFFFF"><img src="img/footer.png" width="800" height="50" /></td>
    <td align="center" valign="top" background="img/right-side.png"> </td>
  </tr>
</table>
</body>
</html>
<?php
else {
/*echo $_SESSION['s_logged_n'].'b';
echo $_SESSION['s_username'].'c';
echo $_SESSION['s_name'].'d';*/
header("Location: main.php?cid=login");
}

?>

Link to comment
Share on other sites

This is not going to work too..

Parse error: syntax error, unexpected T_ELSE in C:\wamp\www\......... on line 231

 

Where is IF....

 

if you remove this part, and check... maybe it will work

 

<?php
else {
/*echo $_SESSION['s_logged_n'].'b';
echo $_SESSION['s_username'].'c';
echo $_SESSION['s_name'].'d';*/
header("Location: main.php?cid=login");
}

?>

Link to comment
Share on other sites

Yes, it is there, see in the code you posted (in line 212 in DW)

</table>";
}
?>

 

and there in this part, I am saying that I don't see IF for this ELSE  ;D

<?php
else {
/*echo $_SESSION['s_logged_n'].'b';
echo $_SESSION['s_username'].'c';
echo $_SESSION['s_name'].'d';*/
header("Location: main.php?cid=login");
}

?>

Link to comment
Share on other sites

sorry, you don't see an IF statement with the bottom ELSE statement because it's actually at the top

 

<?php
session_start();
if($_SESSION['s_logged_n'] == 'true'){
include 'process.php';

?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">

Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • 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.