31-12-2008, 14:55
|
|
|
חבר מתאריך: 06.06.07
הודעות: 749
|
|
אני עובד עם דרימוויור של אדובי
הדף
קוד 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"> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <title>Untitled Document</title> <link href="../stylesheet/Nsagolstyles.css" rel="stylesheet" type="text/css" /> <script type="text/javascript" > function MM_CheckFlashVersion(reqVerStr,msg){ with(navigator){ var isIE = (appVersion.indexOf("MSIE") != -1 && userAgent.indexOf("Opera") == -1); var isWin = (appVersion.toLowerCase().indexOf("win") != -1); if (!isIE || !isWin){ var flashVer = -1; if (plugins && plugins.length > 0){ var desc = plugins["Shockwave Flash"] ? plugins["Shockwave Flash"].description : ""; desc = plugins["Shockwave Flash 2.0"] ? plugins["Shockwave Flash 2.0"].description : desc; if (desc == "") flashVer = -1; else{ var descArr = desc.split(" "); var tempArrMajor = descArr[2].split("."); var verMajor = tempArrMajor[0]; var tempArrMinor = (descArr[3] != "") ? descArr[3].split("r") : descArr[4].split("r"); var verMinor = (tempArrMinor[1] > 0) ? tempArrMinor[1] : 0; flashVer = parseFloat(verMajor + "." + verMinor); } } // WebTV has Flash Player 4 or lower -- too low for video else if (userAgent.toLowerCase().indexOf("webtv") != -1) flashVer = 4.0;
var verArr = reqVerStr.split(","); var reqVer = parseFloat(verArr[0] + "." + verArr[2]); if (flashVer < reqVer){ if (confirm(msg)) window.location = "http://www.adobe.com/shockwave/download/download.cgi?P1_Prod_Version=ShockwaveFlash"; } } } } </script> <script src="../Scripts/AC_RunActiveContent.js" type="text/javascript"></script> </head>
<body id="screenbc" style="margin:0px;" onload="MM_CheckFlashVersion('7,0,0,0','Content on this page requires a newer version of Adobe Flash Player. Do you want to download it now?');"> <?php session_start(); ?> <center> <div id="Ncontainer" name="Ncontainer"> <div id="Nheader"> <div style="width:30px; height:80px; float:right;"> </div> <div style="width:550px; height:80px; float:right;"> <div style="width:550px; height:40px;"> <!--<ul class="TabNfmenu"> <li class="tablogheader"><a href="#" class="a">יציאה</a></li> <li class="tabsheader"><a href="#" class="a">פרופיל</a></li> <li class="tabsheader"><a href="#" class="a">דואר</a></li> <li class="tabsheader"><a href="#" class="a">חברים</a></li> </ul>--> <?php include('../config&func/menubartop.php'); ?> </div> <div style="width:550px; height:40px;"> </div> </div> </div> <div id="Ncontainerin"> <div id="Nside"> <?php include('../config&func/displayimagpages.php'); //echo $_SESSION['myid']; ?> </div> <div id="fmenu"> <!--<ul class="TabNfmenu"> <li class="tablog"><a href="Nmailme.php" class="a-menubody">לפרטים נוספים</a></li> <li class="tabs" style="background-color:#FF0000;"><a href="Nindex.php" style="color:#FFFFFF;">בית</a></li> <li class="tabs"><a href="Nmonavie.php" class="a-menubody">מי זאת מונבי</a></li> <li class="tabs"><a href="Npresentation.php" class="a-menubody">מצגת</a></li> <li class="tabs"><a href="Nmlm.php" class="a-menubody">הסבר על שיווק רישתי</a></li> <li class="tabs"><a href="Nidea.php" class="a-menubody">הרעיון</a></li> <li class="tabs"><a href="Nproduct.php" class="a-menubody">מכפלות הכסף</a></li> <li class="tabs"><a href="Nopportunity.php" class="a-menubody">חובה לראות</a></li> </ul>--> <?php include('../config&func/bodymenu.php'); ?> </div> <div class="pagebody"> <br /> <div style="width:470px; float:left;"> <!--<div> <script type="text/javascript"> AC_FL_RunContent( 'codebase','http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,0,0','width','461','height ','259','id','FLVPlayer','src','FLVPlayer_Progress ive','flashvars','&MM_ComponentVersion=1&skinName=Corona_Skin_3&streamName=../clips/theprocess&autoPlay=true&autoRewind=false','quality','high','scale','noscal e','name','FLVPlayer','salign','lt','pluginspage', 'http://www.adobe.com/shockwave/download/download.cgi?P1_Prod_Version=ShockwaveFlash','movi e','FLVPlayer_Progressive' ); //end AC code </script><noscript><object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,0,0" width="461" height="259" id="FLVPlayer"> <param name="movie" value="FLVPlayer_Progressive.swf" /> <param name="salign" value="lt" /> <param name="quality" value="high" /> <param name="scale" value="noscale" /> <param name="FlashVars" value="&MM_ComponentVersion=1&skinName=Corona_Skin_3&streamName=../clips/theprocess&autoPlay=true&autoRewind=false" /> <embed src="FLVPlayer_Progressive.swf" flashvars="&MM_ComponentVersion=1&skinName=Corona_Skin_3&streamName=../clips/theprocess&autoPlay=true&autoRewind=false" quality="high" scale="noscale" width="320" height="180" name="FLVPlayer" salign="LT" type="application/x-shockwave-flash" pluginspage="http://www.adobe.com/shockwave/download/download.cgi?P1_Prod_Version=ShockwaveFlash" /> </object></noscript> </div>--> <object width="461" height="259"> <param name="movie" value="http://www.youtube.com/v/ydKHVMhNcEQ&hl=en&fs=1"></param> <param name="allowFullScreen" value="true"></param> <param name="allowscriptaccess" value="always"></param> <embed src="http://www.youtube.com/v/ydKHVMhNcEQ&hl=en&fs=1&autoplay=1" type="application/x-shockwave-flash" allowscriptaccess="always" allowfullscreen="true" width="461" height="259"></embed></object> </div> <div style="width:290px; float:left;"> <div> <br /> <p align="right" style="width:270px;"> ,שלום אורח <br /> באתר זה תוכל לקבל מידע על חברת מונבי ועל שיווק רישתי בכלל <br /> לנוחיותכם מרבית המידע מועבר פה בסרטונים קצרים ומעניינים <br /> בצד ימין למעלה יש לינקים לחשיפה ראשונה לחברת מונבי ולרעיון של השיווק הרישתי <br /> בצד שמאל יש לינק לקבלת המידע בהיקף מלא <br /> אנו מקווים שתקבלו מספיק מידע כדי לקפוץ איתנו על הרכבת</p> </div> </div> </div> </div> </div> <div class="pagefooter"> </div> </center> </body> </html>
הסקריפט
קוד PHP:
<?php
require("db.php");
$query = "SELECT * FROM mailme"; $result = mysql_query($query , $link); while ($row = mysql_fetch_array($result)) { if( $row['id'] == $_SESSION['myid'] ) { if( $row['myimg'] != "" ) { echo '<img src="../'. $row['myimg'] .'" height="165px" width="135px" />'; } else { echo '<img src="../users/default/myimg/default.png" height="165px" width="135px" />'; } echo '<ul class="TabNfmenu" style="float:right">'; echo '<li class="tabside"><a href="#" class="a">?? ???</a></li>'; echo '<li class="tabside"><a href="#" class="a">asdc</a></li>'; echo '<li class="tabside"><a href="#" class="a">fifj</a></li>'; echo '<li class="tabside"><a href="#" class="a">sssed</a></li>'; echo '</ul>'; } } //------------------------------------------------------------------------------------------- ?>
נערך לאחרונה ע"י tsachibenezra בתאריך 31-12-2008 בשעה 14:58.
|