Beispiel #1
0
function body_display()
{
    ?>
	<html>
	<head>
	<title>MeStyle_register</title>
	<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
	<link rel="stylesheet" type="text/css" href="css/style.css" />
	<link rel="stylesheet" type="text/css" href="css/border.css" />
	</head>
	<body class="login" bgcolor="#FFFFFF" leftmargin="0" topmargin="0" marginwidth="0" marginheight="0">
	<table width="100%" border="0" cellpadding="0" cellspacing="0">
	 <tr>
	  <td width="31.6%" valign="top">
	   <?php 
    include "logo.php";
    ?>
	   <form id="form2" name="form2" action="index.php" method="post">
		<div class="reg_search"><img src="images/search.gif" style="cursor:hand;" onClick="javascript:fsubmit(document.form2);"></div>
		<div id="reg_search_border"><input type="text" style="border:none; height:30px; width:220px; margin:5 0 0 6px;"/></div>
	   </form>   
	   <?php 
    include "left_follow.php";
    ?>
	  </td>
	  <td width="4.65%"></td>
	  <td width="63.75%" valign="top">
	   <table width="100%" border="0" cellpadding="0" cellspacing="0">
		<?php 
    include "top_bar.php";
    ?>
		<tr>
		 <td><table>
		   <?php 
    include "top_link.php";
    ?>
		   <?php 
    include "top_nav.php";
    ?>
		   <tr>
			<td>
			<div id="log_form"></div>
			</td>
		   </tr>
		   
		   <tr>
			<td>
			 <div id="register_fashion">
			  <div><img src="images/register_fashion.jpg"></div>
			  <div class="s1">
			   <p class="ss1">See the fresh...</p>
			   <p class="ss2">Upload your style</p>
			  </div>
	<?php 
    $M_fashions = fashion_display_main();
    $S1_fashions = fashion_display_sub1();
    $S2_fashions = fashion_display_sub2();
    $S3_fashions = fashion_display_sub3();
    $S1_stylists = stylist_display1();
    $S2_stylists = stylist_display2();
    $S3_stylists = stylist_display3();
    $S4_stylists = stylist_display4();
    ?>
			  <div class="reg_border">
			   <img class="pic_opacity" src="<?php 
    foreach ($M_fashions as $M_fashion) {
        echo $M_fashion->pic;
    }
    ?>
" width="192" height="244" style="float:left; margin:29px 0px 0px 15px;">
			   <img class="pic_opacity" src="<?php 
    foreach ($S1_fashions as $S1_fashion) {
        echo $S1_fashion->pic;
    }
    ?>
" width="59" height="76" style="margin:29px 0px 0px 13px;">
			   <img class="pic_opacity" src="<?php 
    foreach ($S2_fashions as $S2_fashion) {
        echo $S2_fashion->pic;
    }
    ?>
" width="59" height="76" style="margin:8px 0px 0px 13px;">
			   <img class="pic_opacity" src="<?php 
    foreach ($S3_fashions as $S3_fashion) {
        echo $S3_fashion->pic;
    }
    ?>
" width="59" height="76" style="margin:8px 0px 0px 13px;">
			  </div>
			 </div>
			 <div id="register_stylist">
			  <div><img src="images/register_stylist.jpg"></div>
			  <div class="s2">
			   <p class="ss1">Get comment from...</p>
			   <a href="Guru_upload.php" class="ss2">Upload your Gurus</a>
			  </div>
			  <div class="reg_border">
			   <img class="pic_opacity" src="<?php 
    foreach ($S1_stylists as $S1_stylists) {
        echo $S1_stylists->pic;
    }
    ?>
" width="127" height="122" style="float:left; margin:29px 1px 1px 20px;">
			   <img class="pic_opacity" src="<?php 
    foreach ($S2_stylists as $S2_stylist) {
        echo $S2_stylist->pic;
    }
    ?>
" width="127" height="122" style="margin:29px 0px 1px 0px;">
			   <img class="pic_opacity" src="<?php 
    foreach ($S3_stylists as $S3_stylist) {
        echo $S3_stylist->pic;
    }
    ?>
" width="127" height="122" style="margin:0px 1px 0px 20px; float:left; clear:both;">	
			   <img class="pic_opacity" src="<?php 
    foreach ($S4_stylists as $S4_stylist) {
        echo $S4_stylist->pic;
    }
    ?>
" width="127" height="122" style="margin:0px 0px 0px 0px;">
			  </div>
			 </div>		
			</td>
		   </tr>

	<?php 
    $S1_communities = community_display1();
    $S2_communities = community_display2();
    ?>
		   <tr>
			<td>
			 <div id="reg_community1">
			  <div><img src="images/reg_community.gif"></div>
			  <div class="s1">
			   <p class="ss1"><?php 
    foreach ($S1_communities as $S1_community) {
        echo $S1_community->comm;
        ?>
.</p>
			   <p class="ss2">Upload your ...</p>
			  </div>
			  <div class="reg_border">
			   <div class="reg_comm_s1"><h><?php 
        echo $S1_community->DateT;
        ?>
&nbsp;&nbsp;<?php 
        echo $S1_community->title;
        ?>
</h></div>
			   <div class="s1">
				<p class="ss1"><?php 
        echo $S1_community->comm;
        ?>
.</p>
				<p class="ss2">Upload your ...</p>
			   </div>
			   <div class="raised" style="margin-left:22px;">
				<b class="b1"></b><b class="b2"></b><b class="b3"></b><b class="b4"></b>
				<div class="boxcontent"><h1><?php 
        echo $S1_community->answers;
        ?>
 Answers</h1></div>
				<b class="b4b"></b><b class="b3b"></b><b class="b2b"></b><b class="b1b"></b>
			   </div>
			   <div class="raised">
				<b class="b1"></b><b class="b2"></b><b class="b3"></b><b class="b4"></b>
				<div class="boxcontent"><h1><?php 
        echo $S1_community->answers;
    }
    ?>
 Answers</h1></div>
				<b class="b4b"></b><b class="b3b"></b><b class="b2b"></b><b class="b1b"></b>
			   </div>		   
			  </div>
			 </div>
			 <div id="reg_community2">
			  <div><img src="images/reg_community.gif"></div>
			  <div class="s2">
			   <p class="ss1"><?php 
    foreach ($S2_communities as $S2_community) {
        echo $S2_community->comm;
        ?>
.</p>
			   <p class="ss2">Upload your ...</p>
			  </div>
			  <div class="reg_border">
			   <div class="reg_comm_s1"><h><?php 
        echo $S2_community->DateT;
        ?>
&nbsp;&nbsp;<?php 
        echo $S2_community->title;
        ?>
</h></div>
			   <div class="s1">
				<p class="ss1"><?php 
        echo $S2_community->comm;
        ?>
.</p>
				<p class="ss2">Upload your ...</p>
			   </div>
			   <div class="raised" style="margin-left:22px;">
				<b class="b1"></b><b class="b2"></b><b class="b3"></b><b class="b4"></b>
				<div class="boxcontent"><h1><?php 
        echo $S2_community->answers;
        ?>
 Answers</h1></div>
				<b class="b4b"></b><b class="b3b"></b><b class="b2b"></b><b class="b1b"></b>
			   </div>
			   <div class="raised">
				<b class="b1"></b><b class="b2"></b><b class="b3"></b><b class="b4"></b>
				<div class="boxcontent"><h1><?php 
        echo $S2_community->answers;
    }
    ?>
 Answers</h1></div>
				<b class="b4b"></b><b class="b3b"></b><b class="b2b"></b><b class="b1b"></b>
			   </div>		   
			  </div>
			 </div>		
			</td>
		   </tr>
		   
		   <tr><td><img src="images/bottom.gif" style="margin-top:100px;"></td></tr>	   
		  </table>
		 </td>
		 <td width="4%"></td>
		</tr>
	   </table>  
	  </td>
	 </tr>
	</table>
	<!-- End Save for Web Slices -->
	</body>
	</html>
<?php 
}
Beispiel #2
0
function login_footer($input_id = '')
{
    if (!empty($input_id)) {
        ?>
<script type="text/javascript">
try{document.getElementById('<?php 
        echo $input_id;
        ?>
').focus();}catch(e){}
if(typeof wpOnload=='function')wpOnload();
</script>
<?php 
    }
    ?>

<?php 
    do_action('login_footer');
    ?>
		</td>
       </tr>
       <tr>
        <td>
		 <div id="register_fashion">
		  <div><img src="images/register_fashion.jpg"></div>
          <div class="s1">
           <p class="ss1">See the fresh...</p>
           <p class="ss2">Upload your ...</p>
          </div>
<?php 
    $M_fashions = fashion_display_main();
    $S1_fashions = fashion_display_sub1();
    $S2_fashions = fashion_display_sub2();
    $S3_fashions = fashion_display_sub3();
    $S1_stylists = stylist_display1();
    $S2_stylists = stylist_display2();
    $S3_stylists = stylist_display3();
    $S4_stylists = stylist_display4();
    ?>
		  <div class="reg_border">
		   <img class="pic_opacity" src="<?php 
    foreach ($M_fashions as $M_fashion) {
        echo $M_fashion->pic;
    }
    ?>
" width="192" height="244" style="float:left; margin:29px 0px 0px 15px;">
		   <img class="pic_opacity" src="<?php 
    foreach ($S1_fashions as $S1_fashion) {
        echo $S1_fashion->pic;
    }
    ?>
" width="59" height="76" style="margin:29px 0px 0px 13px;">
		   <img class="pic_opacity" src="<?php 
    foreach ($S2_fashions as $S2_fashion) {
        echo $S2_fashion->pic;
    }
    ?>
" width="59" height="76" style="margin:8px 0px 0px 13px;">
		   <img class="pic_opacity" src="<?php 
    foreach ($S3_fashions as $S3_fashion) {
        echo $S3_fashion->pic;
    }
    ?>
" width="59" height="76" style="margin:8px 0px 0px 13px;">
		  </div>
         </div>
		 <div id="register_stylist">
          <div><img src="images/register_stylist.jpg"></div>
          <div class="s2">
           <p class="ss1">Get comment from...</p>
           <p class="ss2">Upload your ...</p>
          </div>
          <div class="reg_border">
		   <img class="pic_opacity" src="<?php 
    foreach ($S1_stylists as $S1_stylists) {
        echo $S1_stylists->pic;
    }
    ?>
" width="127" height="122" style="float:left; margin:29px 1px 1px 20px;">
		   <img class="pic_opacity" src="<?php 
    foreach ($S2_stylists as $S2_stylist) {
        echo $S2_stylist->pic;
    }
    ?>
" width="127" height="122" style="margin:29px 0px 1px 0px;">
		   <img class="pic_opacity" src="<?php 
    foreach ($S3_stylists as $S3_stylist) {
        echo $S3_stylist->pic;
    }
    ?>
" width="127" height="122" style="margin:0px 1px 0px 20px; float:left; clear:both;">	
		   <img class="pic_opacity" src="<?php 
    foreach ($S4_stylists as $S4_stylist) {
        echo $S4_stylist->pic;
    }
    ?>
" width="127" height="122" style="margin:0px 0px 0px 0px;">
		  </div>
		 </div>		
		</td>
       </tr>

<?php 
    $S1_communities = community_display1();
    $S2_communities = community_display2();
    ?>
       <tr>
        <td>
		 <div id="reg_community1">
		  <div><img src="images/reg_community.gif"></div>
          <div class="s1">
           <p class="ss1"><?php 
    foreach ($S1_communities as $S1_community) {
        echo $S1_community->comm;
        ?>
.</p>
           <p class="ss2">Upload your ...</p>
          </div>
		  <div class="reg_border">
		   <div class="reg_comm_s1"><h><?php 
        echo $S1_community->DateT;
        ?>
&nbsp;&nbsp;<?php 
        echo $S1_community->title;
        ?>
</h></div>
           <div class="s1">
            <p class="ss1"><?php 
        echo $S1_community->comm;
        ?>
.</p>
            <p class="ss2">Upload your ...</p>
           </div>
           <div class="raised" style="margin-left:22px;">
		    <b class="b1"></b><b class="b2"></b><b class="b3"></b><b class="b4"></b>
            <div class="boxcontent"><h1><?php 
        echo $S1_community->answers;
        ?>
 Answers</h1></div>
            <b class="b4b"></b><b class="b3b"></b><b class="b2b"></b><b class="b1b"></b>
           </div>
           <div class="raised">
		    <b class="b1"></b><b class="b2"></b><b class="b3"></b><b class="b4"></b>
            <div class="boxcontent"><h1><?php 
        echo $S1_community->answers;
    }
    ?>
 Answers</h1></div>
            <b class="b4b"></b><b class="b3b"></b><b class="b2b"></b><b class="b1b"></b>
           </div>		   
		  </div>
         </div>
		 <div id="reg_community2">
          <div><img src="images/reg_community.gif"></div>
          <div class="s2">
           <p class="ss1"><?php 
    foreach ($S2_communities as $S2_community) {
        echo $S2_community->comm;
        ?>
.</p>
           <p class="ss2">Upload your ...</p>
          </div>
		  <div class="reg_border">
		   <div class="reg_comm_s1"><h><?php 
        echo $S2_community->DateT;
        ?>
&nbsp;&nbsp;<?php 
        echo $S2_community->title;
        ?>
</h></div>
           <div class="s1">
            <p class="ss1"><?php 
        echo $S2_community->comm;
        ?>
.</p>
            <p class="ss2">Upload your ...</p>
           </div>
           <div class="raised" style="margin-left:22px;">
		    <b class="b1"></b><b class="b2"></b><b class="b3"></b><b class="b4"></b>
            <div class="boxcontent"><h1><?php 
        echo $S2_community->answers;
        ?>
 Answers</h1></div>
            <b class="b4b"></b><b class="b3b"></b><b class="b2b"></b><b class="b1b"></b>
           </div>
           <div class="raised">
		    <b class="b1"></b><b class="b2"></b><b class="b3"></b><b class="b4"></b>
            <div class="boxcontent"><h1><?php 
        echo $S2_community->answers;
    }
    ?>
 Answers</h1></div>
            <b class="b4b"></b><b class="b3b"></b><b class="b2b"></b><b class="b1b"></b>
           </div>		   
		  </div>
		 </div>		
		</td>
       </tr>
	   
	   <tr><td><img src="images/bottom.gif" style="margin-top:100px;"></td></tr>	   
      </table>
	 </td>
	 <td width="4%"></td>
	</tr>
   </table>  
  </td>
 </tr>
</table>
<!-- End Save for Web Slices -->
</body>
</html>

<?php 
}