Ravens PHP Scripts: Forums
 

 

View next topic
View previous topic
Post new topic   Reply to topic    Ravens PHP Scripts And Web Hosting Forum Index -> RN v2.20.00 - All Issues
Author Message
rorie
Regular
Regular


Joined: Jul 27, 2008
Posts: 50

PostPosted: Fri Sep 12, 2008 3:20 am Reply with quote

i have attempted to add bidvertiser coding in one of my modules at least 3 times every time i use phpnuke tools to create the module & then upload it to the server the ads never show. can anybody help me?. yes the ads are javascript based
 
View user's profile Send private message
montego
Site Admin


Joined: Aug 29, 2004
Posts: 9449
Location: Arizona

PostPosted: Fri Sep 19, 2008 5:52 am Reply with quote

Unfortunately, most of these phpnuke tools are quite old and not kept up to standard. RavenNuke(tm) is XHTML rather than HTML, so these tools may not be smart enough to handle the javascript appropriately.

Maybe post the bidvertiser code here (WITHIN bbcode CODE tags please) and see if someone can help.

_________________
Only registered users can see links on this board! Get registered or login!
Only registered users can see links on this board! Get registered or login! 
View user's profile Send private message Visit poster's website
rorie
PostPosted: Fri Sep 19, 2008 8:34 pm Reply with quote

Quote:
montego

PostPosted: Fri Sep 19, 2008 9:52 pm
Unfortunately, most of these phpnuke tools are quite old and not kept up to standard. RavenNuke(tm) is XHTML rather than HTML, so these tools may not be smart enough to handle the javascript appropriately.

Maybe post the bidvertiser code here (WITHIN bbcode CODE tags please) and see if someone can help.


Code:
<!-- Begin BidVertiser Referral code -->

<script language="JavaScript">var bdv_ref_pid=72716;var bdv_ref_type='i';var bdv_ref_option='p';var bdv_ref_eb='0';var bdv_ref_gif_id='ref_110x32_black_pbl';var bdv_ref_width=110;var bdv_ref_height=32;</script>
<script language="JavaScript" src="http://bdv.bidvertiser.com/bidvertiser/referral_button.html?pid=72716"></script>
<noscript><a href="http://www.bidvertiser.com/bdv/BidVertiser/bdv_advertiser.dbm">internet marketing</a></noscript>
<!-- End BidVertiser Referral code -->


Code:
 <!-- Begin BidVertiser code -->

<SCRIPT LANGUAGE="JavaScript1.1" SRC="http://bdv.bidvertiser.com/BidVertiser.dbm?pid=72716&bid=335628" type="text/javascript"></SCRIPT>
<noscript><a href="http://www.bidvertiser.com/bdv/BidVertiser/bdv_advertiser.dbm">internet marketing</a></noscript>
<!-- End BidVertiser code -->
 
montego
PostPosted: Sat Sep 20, 2008 8:06 am Reply with quote

I'll just give you some sample code for the first example you gave (this is the easiest most straightforward way).

Code:


echo <<< _EOF_
<!-- Begin BidVertiser Referral code -->
<script type="text/javascript" language="Javascript">var bdv_ref_pid=72716;var bdv_ref_type='i';var bdv_ref_option='p';var bdv_ref_eb='0';var bdv_ref_gif_id='ref_110x32_black_pbl';var bdv_ref_width=110;var bdv_ref_height=32;</script>
<script type="text/javascript" language="Javascript" src="http://bdv.bidvertiser.com/bidvertiser/referral_button.html?pid=72716"></script>
<noscript><a href="http://www.bidvertiser.com/bdv/BidVertiser/bdv_advertiser.dbm">internet marketing</a></noscript>
<!-- End BidVertiser Referral code -->
_EOF_;


Notice that I fixed up the script tag syntax slightly to be more compliant to standards.
 
rorie
PostPosted: Thu Sep 25, 2008 12:19 am Reply with quote

montego wrote:
I'll just give you some sample code for the first example you gave (this is the easiest most straightforward way).

Code:


echo <<< _EOF_
<!-- Begin BidVertiser Referral code -->
<script type="text/javascript" language="Javascript">var bdv_ref_pid=72716;var bdv_ref_type='i';var bdv_ref_option='p';var bdv_ref_eb='0';var bdv_ref_gif_id='ref_110x32_black_pbl';var bdv_ref_width=110;var bdv_ref_height=32;</script>
<script type="text/javascript" language="Javascript" src="http://bdv.bidvertiser.com/bidvertiser/referral_button.html?pid=72716"></script>
<noscript><a href="http://www.bidvertiser.com/bdv/BidVertiser/bdv_advertiser.dbm">internet marketing</a></noscript>
<!-- End BidVertiser Referral code -->
_EOF_;


Notice that I fixed up the script tag syntax slightly to be more compliant to standards.


i am experimenting with one of my photos pages. i added

Code:
echo <<< _EOF_

 <!-- Begin BidVertiser code -->
<SCRIPT LANGUAGE="JavaScript1.1" SRC="http://bdv.bidvertiser.com/BidVertiser.dbm?pid=72716&bid=306813" type="text/javascript"></SCRIPT>
<noscript><a href="http://www.bidvertiser.com/bdv/BidVertiser/bdv_advertiser.dbm">internet marketing</a></noscript>
<!-- End BidVertiser code -->
_EOF_;

echo <<< _EOF_
<!-- Begin BidVertiser Referral code -->
<script type="text/javascript" language="Javascript">var bdv_ref_pid=72716;var bdv_ref_type='i';var bdv_ref_option='p';var bdv_ref_eb='0';var bdv_ref_gif_id='ref_110x32_black_pbl';var bdv_ref_width=110;var bdv_ref_height=32;</script>
<script type="text/javascript" language="Javascript" src="http://bdv.bidvertiser.com/bidvertiser/referral_button.html?pid=72716"></script>
<noscript><a href="http://www.bidvertiser.com/bdv/BidVertiser/bdv_advertiser.dbm">internet marketing</a></noscript>
<!-- End BidVertiser Referral code -->
_EOF_;
to the code

so now the complete code is

Code:
<?php

#### Generated by Module Creator - By Disipal site (www.disipal.net) ####
if (!eregi("modules.php", $PHP_SELF)) {
   die ("You can't access this file directly...");

}
require_once("mainfile.php");
$module_name = basename(dirname(__FILE__));
get_lang($module_name);
include("header.php");
$index = 0;
OpenTable();
echo <<< _EOF_
 <!-- Begin BidVertiser code -->
<SCRIPT LANGUAGE="JavaScript1.1" SRC="http://bdv.bidvertiser.com/BidVertiser.dbm?pid=72716&bid=306813" type="text/javascript"></SCRIPT>
<noscript><a href="http://www.bidvertiser.com/bdv/BidVertiser/bdv_advertiser.dbm">internet marketing</a></noscript>
<!-- End BidVertiser code -->
_EOF_;

echo <<< _EOF_
<!-- Begin BidVertiser Referral code -->
<script type="text/javascript" language="Javascript">var bdv_ref_pid=72716;var bdv_ref_type='i';var bdv_ref_option='p';var bdv_ref_eb='0';var bdv_ref_gif_id='ref_110x32_black_pbl';var bdv_ref_width=110;var bdv_ref_height=32;</script>
<script type="text/javascript" language="Javascript" src="http://bdv.bidvertiser.com/bidvertiser/referral_button.html?pid=72716"></script>
<noscript><a href="http://www.bidvertiser.com/bdv/BidVertiser/bdv_advertiser.dbm">internet marketing</a></noscript>
<!-- End BidVertiser Referral code -->
_EOF_;

echo"<p><span class=\"style4\">"
  . "     <select name=\"menu1\" id=\"menu1\" onChange=\"MM_jumpMenu('parent',this,0)\">"
  . "       <option value=\"http://www.rorboy1983.com/modules.php?name=Photos_A$\" selected>Australia Dollar</option>"
  . "       <option value=\"http://www.rorboy1983.com/modules.php?name=Photos_C$\">Canada Dollar</option>"
  . "       <option value=\"http://www.rorboy1983.com/modules.php?name=Photos_XPF\">Central Pacific Franc</option>"
  . "       <option value=\"http://www.rorboy1983.com/modules.php?name=Photos_Euros\">Euros</option>"
  . "       <option value=\"http://www.rorboy1983.com/modules.php?name=Photos_F$\">Fiji Dollar</option>"
  . "       <option value=\"http://www.rorboy1983.com/modules.php?name=Photos_South_Pacific_2006\">South Pacific 2006</option>"
  . "       <option value=\"http://www.rorboy1983.com/modules.php?name=Photos_Sydney2005\">Sydney 2005</option>"
  . "       <option value=\"http://www.rorboy1983.com/modules.php?name=Photos_Tasmania2003\">Tasmania By Sea 2003</option>"
  . "       <option value=\"http://www.rorboy1983.com/modules.php?name=Photos_NZ$\">New Zealand Dollar</option>"
  . "       <option value=\"http://www.rorboy1983.com/modules.php?name=Photos_NZ2008\">New Zealand 2008</option>"
  . "       <option value=\"http://www.rorboy1983.com/modules.php?name=Photos_US$\">United States Dollar</option>"
  . "       <option value=\"http://www.rorboy1983.com/modules.php?name=Photos_Vt\">Vanuatu Vatu</option>"
  . "     </select>"
  . "   </span></p>"
  . "font color=\"#000080\" size=\"5\">Photos (Australia Dollar)</font>    "
  . "   <p><a href=\"http://www.shareapic.net/content.php?id=7519987&owner=Rorie\" "
  . "target=\"_blank\"><img src=\"http://www.shareapic.net/preview3/007519987.jpg\" "
  . "border=\"0\"></a> <a "
  . "href=\"http://www.shareapic.net/content.php?id=7519988&owner=Rorie\" "
  . "target=\"_blank\"><img src=\"http://www.shareapic.net/preview3/007519988.jpg\" "
  . "border=\"0\"></a> <a "
  . "href=\"http://www.shareapic.net/content.php?id=7519989&owner=Rorie\" "
  . "target=\"_blank\"><img src=\"http://www.shareapic.net/preview3/007519989.jpg\" "
  . "border=\"0\"></a> <a "
  . "href=\"http://www.shareapic.net/content.php?id=7519990&owner=Rorie\" "
  . "target=\"_blank\"><img src=\"http://www.shareapic.net/preview3/007519990.jpg\" "
  . "border=\"0\"></a> <a "
  . "href=\"http://www.shareapic.net/content.php?id=7519991&owner=Rorie\" "
  . "target=\"_blank\"><img src=\"http://www.shareapic.net/preview3/007519991.jpg\" "
  . "border=\"0\"></a> <a "
  . "href=\"http://www.shareapic.net/content.php?id=7519992&owner=Rorie\" "
  . "target=\"_blank\"><img src=\"http://www.shareapic.net/preview3/007519992.jpg\" "
  . "border=\"0\"></a> <a "
  . "href=\"http://www.shareapic.net/content.php?id=7520010&owner=Rorie\" "
  . "target=\"_blank\"><img src=\"http://www.shareapic.net/preview3/007520010.jpg\" "
  . "border=\"0\"></a> <a "
  . "href=\"http://www.shareapic.net/content.php?id=7520011&owner=Rorie\" "
  . "target=\"_blank\"><img src=\"http://www.shareapic.net/preview3/007520011.jpg\" "
  . "border=\"0\"></a> <a "
  . "href=\"http://www.shareapic.net/content.php?id=7520012&owner=Rorie\" "
  . "target=\"_blank\"><img src=\"http://www.shareapic.net/preview3/007520012.gif\" "
  . "border=\"0\"></a> <a "
  . "href=\"http://www.shareapic.net/content.php?id=7520013&owner=Rorie\" "
  . "target=\"_blank\"><img src=\"http://www.shareapic.net/preview3/007520013.jpg\" "
  . "border=\"0\"></a> <a "
  . "href=\"http://www.shareapic.net/content.php?id=7520014&owner=Rorie\" "
  . "target=\"_blank\"><img src=\"http://www.shareapic.net/preview3/007520014.jpg\" "
  . "border=\"0\"></a> <a "
  . "href=\"http://www.shareapic.net/content.php?id=7520015&owner=Rorie\" "
  . "target=\"_blank\"><img src=\"http://www.shareapic.net/preview3/007520015.jpg\" "
  . "border=\"0\">";
CloseTable();
include("footer.php");

?>


but i get a blank white page with nothing on it. what am i doing wrong?. i would appreciate any help that you can offer me thank you
 
jakec
Site Admin


Joined: Feb 06, 2006
Posts: 3048
Location: United Kingdom

PostPosted: Thu Sep 25, 2008 12:22 am Reply with quote

If you are getting a blank page turn on error reporting and let us know if there are any errors displayed.
 
View user's profile Send private message
rorie
PostPosted: Thu Sep 25, 2008 12:36 am Reply with quote

jakec wrote:
If you are getting a blank page turn on error reporting and let us know if there are any errors displayed.


i turned on error reporting in firefox, according to it. firefox says that they are no errors
 
testy1
Involved
Involved


Joined: Apr 06, 2008
Posts: 484

PostPosted: Thu Sep 25, 2008 2:25 am Reply with quote

try this

Code:


<?php

if (!defined('MODULE_FILE'))
{
   die('You can\'t access this file directly...');
}
require_once('mainfile.php');
$module_name = basename(dirname(__FILE__));
get_lang($module_name);
include("header.php");
define('INDEX_FILE', true); //comment this out to hide right blocks
if (defined('INDEX_FILE')) { $index = 1; } else {$index = 0; } // auto set right blocks for pre patch 3.1 compatibility
OpenTable();
echo '<script language="javascript" type="text/javascript">
/* <![CDATA[ */
var bdv_ref_pid=72716;
var bdv_ref_type=\'i\';
var bdv_ref_option=\'p\';
var bdv_ref_eb=\'0\';
var bdv_ref_gif_id=\'ref_110x32_black_pbl\';
var bdv_ref_width=110;
var bdv_ref_height=32;
/* ]]> */
</script>
<script language="javascript" type="text/javascript" src="http://bdv.bidvertiser.com/bidvertiser/referral_button.html?pid=72716"></script>
<noscript>
<a href="http://www.bidvertiser.com/bdv/BidVertiser/bdv_advertiser.dbm">internet marketing</a>';
echo '<script language="javascript" type="text/javascript" src="http://bdv.bidvertiser.com/BidVertiser.dbm?pid=72716&bid=335628"></script>
<noscript>
<a href="http://www.bidvertiser.com/bdv/BidVertiser/bdv_advertiser.dbm">internet marketing</a>
</noscript>';
echo "<p><span class=\"style4\">"
  . "     <select name=\"menu1\" id=\"menu1\" onChange=\"MM_jumpMenu('parent',this,0)\">"
  . "       <option value=\"http://www.rorboy1983.com/modules.php?name=Photos_A$\" selected>Australia Dollar</option>"
  . "       <option value=\"http://www.rorboy1983.com/modules.php?name=Photos_C$\">Canada Dollar</option>"
  . "       <option value=\"http://www.rorboy1983.com/modules.php?name=Photos_XPF\">Central Pacific Franc</option>"
  . "       <option value=\"http://www.rorboy1983.com/modules.php?name=Photos_Euros\">Euros</option>"
  . "       <option value=\"http://www.rorboy1983.com/modules.php?name=Photos_F$\">Fiji Dollar</option>"
  . "       <option value=\"http://www.rorboy1983.com/modules.php?name=Photos_South_Pacific_2006\">South Pacific 2006</option>"
  . "       <option value=\"http://www.rorboy1983.com/modules.php?name=Photos_Sydney2005\">Sydney 2005</option>"
  . "       <option value=\"http://www.rorboy1983.com/modules.php?name=Photos_Tasmania2003\">Tasmania By Sea 2003</option>"
  . "       <option value=\"http://www.rorboy1983.com/modules.php?name=Photos_NZ$\">New Zealand Dollar</option>"
  . "       <option value=\"http://www.rorboy1983.com/modules.php?name=Photos_NZ2008\">New Zealand 2008</option>"
  . "       <option value=\"http://www.rorboy1983.com/modules.php?name=Photos_US$\">United States Dollar</option>"
  . "       <option value=\"http://www.rorboy1983.com/modules.php?name=Photos_Vt\">Vanuatu Vatu</option>"
  . "     </select>"
  . "   </span></p>"
  . "<font color=\"#000080\" size=\"5\">Photos (Australia Dollar)</font>    "
  . "   <p><a href=\"http://www.shareapic.net/content.php?id=7519987&owner=Rorie\" "
  . "target=\"_blank\"><img src=\"http://www.shareapic.net/preview3/007519987.jpg\" "
  . "border=\"0\"></a> <a "
  . "href=\"http://www.shareapic.net/content.php?id=7519988&owner=Rorie\" "
  . "target=\"_blank\"><img src=\"http://www.shareapic.net/preview3/007519988.jpg\" "
  . "border=\"0\"></a> <a "
  . "href=\"http://www.shareapic.net/content.php?id=7519989&owner=Rorie\" "
  . "target=\"_blank\"><img src=\"http://www.shareapic.net/preview3/007519989.jpg\" "
  . "border=\"0\"></a> <a "
  . "href=\"http://www.shareapic.net/content.php?id=7519990&owner=Rorie\" "
  . "target=\"_blank\"><img src=\"http://www.shareapic.net/preview3/007519990.jpg\" "
  . "border=\"0\"></a> <a "
  . "href=\"http://www.shareapic.net/content.php?id=7519991&owner=Rorie\" "
  . "target=\"_blank\"><img src=\"http://www.shareapic.net/preview3/007519991.jpg\" "
  . "border=\"0\"></a> <a "
  . "href=\"http://www.shareapic.net/content.php?id=7519992&owner=Rorie\" "
  . "target=\"_blank\"><img src=\"http://www.shareapic.net/preview3/007519992.jpg\" "
  . "border=\"0\"></a> <a "
  . "href=\"http://www.shareapic.net/content.php?id=7520010&owner=Rorie\" "
  . "target=\"_blank\"><img src=\"http://www.shareapic.net/preview3/007520010.jpg\" "
  . "border=\"0\"></a> <a "
  . "href=\"http://www.shareapic.net/content.php?id=7520011&owner=Rorie\" "
  . "target=\"_blank\"><img src=\"http://www.shareapic.net/preview3/007520011.jpg\" "
  . "border=\"0\"></a> <a "
  . "href=\"http://www.shareapic.net/content.php?id=7520012&owner=Rorie\" "
  . "target=\"_blank\"><img src=\"http://www.shareapic.net/preview3/007520012.gif\" "
  . "border=\"0\"></a> <a "
  . "href=\"http://www.shareapic.net/content.php?id=7520013&owner=Rorie\" "
  . "target=\"_blank\"><img src=\"http://www.shareapic.net/preview3/007520013.jpg\" "
  . "border=\"0\"></a> <a "
  . "href=\"http://www.shareapic.net/content.php?id=7520014&owner=Rorie\" "
  . "target=\"_blank\"><img src=\"http://www.shareapic.net/preview3/007520014.jpg\" "
  . "border=\"0\"></a> <a "
  . "href=\"http://www.shareapic.net/content.php?id=7520015&owner=Rorie\" "
  . "target=\"_blank\"><img src=\"http://www.shareapic.net/preview3/007520015.jpg\" "
  . "border=\"0\">";
CloseTable();
include("footer.php");
?>
 
View user's profile Send private message
jakec
PostPosted: Thu Sep 25, 2008 5:39 am Reply with quote

Error reporting has to be turned on in the config.php file.
 
rorie
PostPosted: Thu Sep 25, 2008 7:15 pm Reply with quote

testy1 wrote:
try this

Code:


<?php

if (!defined('MODULE_FILE'))
{
   die('You can\'t access this file directly...');
}
require_once('mainfile.php');
$module_name = basename(dirname(__FILE__));
get_lang($module_name);
include("header.php");
define('INDEX_FILE', true); //comment this out to hide right blocks
if (defined('INDEX_FILE')) { $index = 1; } else {$index = 0; } // auto set right blocks for pre patch 3.1 compatibility
OpenTable();
echo '<script language="javascript" type="text/javascript">
/* <![CDATA[ */
var bdv_ref_pid=72716;
var bdv_ref_type=\'i\';
var bdv_ref_option=\'p\';
var bdv_ref_eb=\'0\';
var bdv_ref_gif_id=\'ref_110x32_black_pbl\';
var bdv_ref_width=110;
var bdv_ref_height=32;
/* ]]> */
</script>
<script language="javascript" type="text/javascript" src="http://bdv.bidvertiser.com/bidvertiser/referral_button.html?pid=72716"></script>
<noscript>
<a href="http://www.bidvertiser.com/bdv/BidVertiser/bdv_advertiser.dbm">internet marketing</a>';
echo '<script language="javascript" type="text/javascript" src="http://bdv.bidvertiser.com/BidVertiser.dbm?pid=72716&bid=335628"></script>
<noscript>
<a href="http://www.bidvertiser.com/bdv/BidVertiser/bdv_advertiser.dbm">internet marketing</a>
</noscript>';
echo "<p><span class=\"style4\">"
  . "     <select name=\"menu1\" id=\"menu1\" onChange=\"MM_jumpMenu('parent',this,0)\">"
  . "       <option value=\"http://www.rorboy1983.com/modules.php?name=Photos_A$\" selected>Australia Dollar</option>"
  . "       <option value=\"http://www.rorboy1983.com/modules.php?name=Photos_C$\">Canada Dollar</option>"
  . "       <option value=\"http://www.rorboy1983.com/modules.php?name=Photos_XPF\">Central Pacific Franc</option>"
  . "       <option value=\"http://www.rorboy1983.com/modules.php?name=Photos_Euros\">Euros</option>"
  . "       <option value=\"http://www.rorboy1983.com/modules.php?name=Photos_F$\">Fiji Dollar</option>"
  . "       <option value=\"http://www.rorboy1983.com/modules.php?name=Photos_South_Pacific_2006\">South Pacific 2006</option>"
  . "       <option value=\"http://www.rorboy1983.com/modules.php?name=Photos_Sydney2005\">Sydney 2005</option>"
  . "       <option value=\"http://www.rorboy1983.com/modules.php?name=Photos_Tasmania2003\">Tasmania By Sea 2003</option>"
  . "       <option value=\"http://www.rorboy1983.com/modules.php?name=Photos_NZ$\">New Zealand Dollar</option>"
  . "       <option value=\"http://www.rorboy1983.com/modules.php?name=Photos_NZ2008\">New Zealand 2008</option>"
  . "       <option value=\"http://www.rorboy1983.com/modules.php?name=Photos_US$\">United States Dollar</option>"
  . "       <option value=\"http://www.rorboy1983.com/modules.php?name=Photos_Vt\">Vanuatu Vatu</option>"
  . "     </select>"
  . "   </span></p>"
  . "<font color=\"#000080\" size=\"5\">Photos (Australia Dollar)</font>    "
  . "   <p><a href=\"http://www.shareapic.net/content.php?id=7519987&owner=Rorie\" "
  . "target=\"_blank\"><img src=\"http://www.shareapic.net/preview3/007519987.jpg\" "
  . "border=\"0\"></a> <a "
  . "href=\"http://www.shareapic.net/content.php?id=7519988&owner=Rorie\" "
  . "target=\"_blank\"><img src=\"http://www.shareapic.net/preview3/007519988.jpg\" "
  . "border=\"0\"></a> <a "
  . "href=\"http://www.shareapic.net/content.php?id=7519989&owner=Rorie\" "
  . "target=\"_blank\"><img src=\"http://www.shareapic.net/preview3/007519989.jpg\" "
  . "border=\"0\"></a> <a "
  . "href=\"http://www.shareapic.net/content.php?id=7519990&owner=Rorie\" "
  . "target=\"_blank\"><img src=\"http://www.shareapic.net/preview3/007519990.jpg\" "
  . "border=\"0\"></a> <a "
  . "href=\"http://www.shareapic.net/content.php?id=7519991&owner=Rorie\" "
  . "target=\"_blank\"><img src=\"http://www.shareapic.net/preview3/007519991.jpg\" "
  . "border=\"0\"></a> <a "
  . "href=\"http://www.shareapic.net/content.php?id=7519992&owner=Rorie\" "
  . "target=\"_blank\"><img src=\"http://www.shareapic.net/preview3/007519992.jpg\" "
  . "border=\"0\"></a> <a "
  . "href=\"http://www.shareapic.net/content.php?id=7520010&owner=Rorie\" "
  . "target=\"_blank\"><img src=\"http://www.shareapic.net/preview3/007520010.jpg\" "
  . "border=\"0\"></a> <a "
  . "href=\"http://www.shareapic.net/content.php?id=7520011&owner=Rorie\" "
  . "target=\"_blank\"><img src=\"http://www.shareapic.net/preview3/007520011.jpg\" "
  . "border=\"0\"></a> <a "
  . "href=\"http://www.shareapic.net/content.php?id=7520012&owner=Rorie\" "
  . "target=\"_blank\"><img src=\"http://www.shareapic.net/preview3/007520012.gif\" "
  . "border=\"0\"></a> <a "
  . "href=\"http://www.shareapic.net/content.php?id=7520013&owner=Rorie\" "
  . "target=\"_blank\"><img src=\"http://www.shareapic.net/preview3/007520013.jpg\" "
  . "border=\"0\"></a> <a "
  . "href=\"http://www.shareapic.net/content.php?id=7520014&owner=Rorie\" "
  . "target=\"_blank\"><img src=\"http://www.shareapic.net/preview3/007520014.jpg\" "
  . "border=\"0\"></a> <a "
  . "href=\"http://www.shareapic.net/content.php?id=7520015&owner=Rorie\" "
  . "target=\"_blank\"><img src=\"http://www.shareapic.net/preview3/007520015.jpg\" "
  . "border=\"0\">";
CloseTable();
include("footer.php");
?>


thank you it works. but you forgot to add my banner code here it is

Code:
 <!-- Begin BidVertiser code -->

<SCRIPT LANGUAGE="JavaScript1.1" SRC="http://bdv.bidvertiser.com/BidVertiser.dbm?pid=72716&bid=306813" type="text/javascript"></SCRIPT>
<noscript><a href="http://www.bidvertiser.com/bdv/BidVertiser/bdv_advertiser.dbm">internet marketing</a></noscript>
<!-- End BidVertiser code -->


can you please incorporate it into the code you gave me?
 
testy1
PostPosted: Thu Sep 25, 2008 9:18 pm Reply with quote

try this

Code:


<?php

if (!defined('MODULE_FILE'))
{
   die('You can\'t access this file directly...');
}
require_once('mainfile.php');
$module_name = basename(dirname(__FILE__));
get_lang($module_name);
include("header.php");
define('INDEX_FILE', true); //comment this out to hide right blocks
if (defined('INDEX_FILE')) { $index = 1; } else {$index = 0; } // auto set right blocks for pre patch 3.1 compatibility
OpenTable();

echo '<script language="javascript" type="text/javascript" src="http://bdv.bidvertiser.com/BidVertiser.dbm?pid=72716&bid=306813"></script>
<noscript>
<a href="http://www.bidvertiser.com/bdv/BidVertiser/bdv_advertiser.dbm">internet marketing</a>
</noscript>';

echo '<script language="javascript" type="text/javascript">
/* <![CDATA[ */
var bdv_ref_pid=72716;
var bdv_ref_type=\'i\';
var bdv_ref_option=\'p\';
var bdv_ref_eb=\'0\';
var bdv_ref_gif_id=\'ref_110x32_black_pbl\';
var bdv_ref_width=110;
var bdv_ref_height=32;
/* ]]> */
</script>';
echo '<script language="javascript" type="text/javascript" src="http://bdv.bidvertiser.com/bidvertiser/referral_button.html?pid=72716"></script>
<noscript>
<a href="http://www.bidvertiser.com/bdv/BidVertiser/bdv_advertiser.dbm">internet marketing</a>';
echo '<script language="javascript" type="text/javascript" src="http://bdv.bidvertiser.com/BidVertiser.dbm?pid=72716&bid=335628"></script>
<noscript>
<a href="http://www.bidvertiser.com/bdv/BidVertiser/bdv_advertiser.dbm">internet marketing</a>
</noscript>';
echo "<p><span class=\"style4\">"
  . "     <select name=\"menu1\" id=\"menu1\" onChange=\"MM_jumpMenu('parent',this,0)\">"
  . "       <option value=\"http://www.rorboy1983.com/modules.php?name=Photos_A$\" selected>Australia Dollar</option>"
  . "       <option value=\"http://www.rorboy1983.com/modules.php?name=Photos_C$\">Canada Dollar</option>"
  . "       <option value=\"http://www.rorboy1983.com/modules.php?name=Photos_XPF\">Central Pacific Franc</option>"
  . "       <option value=\"http://www.rorboy1983.com/modules.php?name=Photos_Euros\">Euros</option>"
  . "       <option value=\"http://www.rorboy1983.com/modules.php?name=Photos_F$\">Fiji Dollar</option>"
  . "       <option value=\"http://www.rorboy1983.com/modules.php?name=Photos_South_Pacific_2006\">South Pacific 2006</option>"
  . "       <option value=\"http://www.rorboy1983.com/modules.php?name=Photos_Sydney2005\">Sydney 2005</option>"
  . "       <option value=\"http://www.rorboy1983.com/modules.php?name=Photos_Tasmania2003\">Tasmania By Sea 2003</option>"
  . "       <option value=\"http://www.rorboy1983.com/modules.php?name=Photos_NZ$\">New Zealand Dollar</option>"
  . "       <option value=\"http://www.rorboy1983.com/modules.php?name=Photos_NZ2008\">New Zealand 2008</option>"
  . "       <option value=\"http://www.rorboy1983.com/modules.php?name=Photos_US$\">United States Dollar</option>"
  . "       <option value=\"http://www.rorboy1983.com/modules.php?name=Photos_Vt\">Vanuatu Vatu</option>"
  . "     </select>"
  . "   </span></p>"
  . "<font color=\"#000080\" size=\"5\">Photos (Australia Dollar)</font>    "
  . "   <p><a href=\"http://www.shareapic.net/content.php?id=7519987&owner=Rorie\" "
  . "target=\"_blank\"><img src=\"http://www.shareapic.net/preview3/007519987.jpg\" "
  . "border=\"0\"></a> <a "
  . "href=\"http://www.shareapic.net/content.php?id=7519988&owner=Rorie\" "
  . "target=\"_blank\"><img src=\"http://www.shareapic.net/preview3/007519988.jpg\" "
  . "border=\"0\"></a> <a "
  . "href=\"http://www.shareapic.net/content.php?id=7519989&owner=Rorie\" "
  . "target=\"_blank\"><img src=\"http://www.shareapic.net/preview3/007519989.jpg\" "
  . "border=\"0\"></a> <a "
  . "href=\"http://www.shareapic.net/content.php?id=7519990&owner=Rorie\" "
  . "target=\"_blank\"><img src=\"http://www.shareapic.net/preview3/007519990.jpg\" "
  . "border=\"0\"></a> <a "
  . "href=\"http://www.shareapic.net/content.php?id=7519991&owner=Rorie\" "
  . "target=\"_blank\"><img src=\"http://www.shareapic.net/preview3/007519991.jpg\" "
  . "border=\"0\"></a> <a "
  . "href=\"http://www.shareapic.net/content.php?id=7519992&owner=Rorie\" "
  . "target=\"_blank\"><img src=\"http://www.shareapic.net/preview3/007519992.jpg\" "
  . "border=\"0\"></a> <a "
  . "href=\"http://www.shareapic.net/content.php?id=7520010&owner=Rorie\" "
  . "target=\"_blank\"><img src=\"http://www.shareapic.net/preview3/007520010.jpg\" "
  . "border=\"0\"></a> <a "
  . "href=\"http://www.shareapic.net/content.php?id=7520011&owner=Rorie\" "
  . "target=\"_blank\"><img src=\"http://www.shareapic.net/preview3/007520011.jpg\" "
  . "border=\"0\"></a> <a "
  . "href=\"http://www.shareapic.net/content.php?id=7520012&owner=Rorie\" "
  . "target=\"_blank\"><img src=\"http://www.shareapic.net/preview3/007520012.gif\" "
  . "border=\"0\"></a> <a "
  . "href=\"http://www.shareapic.net/content.php?id=7520013&owner=Rorie\" "
  . "target=\"_blank\"><img src=\"http://www.shareapic.net/preview3/007520013.jpg\" "
  . "border=\"0\"></a> <a "
  . "href=\"http://www.shareapic.net/content.php?id=7520014&owner=Rorie\" "
  . "target=\"_blank\"><img src=\"http://www.shareapic.net/preview3/007520014.jpg\" "
  . "border=\"0\"></a> <a "
  . "href=\"http://www.shareapic.net/content.php?id=7520015&owner=Rorie\" "
  . "target=\"_blank\"><img src=\"http://www.shareapic.net/preview3/007520015.jpg\" "
  . "border=\"0\">";
CloseTable();
include("footer.php");
?>
 
rorie
PostPosted: Thu Sep 25, 2008 10:57 pm Reply with quote

testy1 wrote:
try this

Code:


<?php

if (!defined('MODULE_FILE'))
{
   die('You can\'t access this file directly...');
}
require_once('mainfile.php');
$module_name = basename(dirname(__FILE__));
get_lang($module_name);
include("header.php");
define('INDEX_FILE', true); //comment this out to hide right blocks
if (defined('INDEX_FILE')) { $index = 1; } else {$index = 0; } // auto set right blocks for pre patch 3.1 compatibility
OpenTable();

echo '<script language="javascript" type="text/javascript" src="http://bdv.bidvertiser.com/BidVertiser.dbm?pid=72716&bid=306813"></script>
<noscript>
<a href="http://www.bidvertiser.com/bdv/BidVertiser/bdv_advertiser.dbm">internet marketing</a>
</noscript>';

echo '<script language="javascript" type="text/javascript">
/* <![CDATA[ */
var bdv_ref_pid=72716;
var bdv_ref_type=\'i\';
var bdv_ref_option=\'p\';
var bdv_ref_eb=\'0\';
var bdv_ref_gif_id=\'ref_110x32_black_pbl\';
var bdv_ref_width=110;
var bdv_ref_height=32;
/* ]]> */
</script>';
echo '<script language="javascript" type="text/javascript" src="http://bdv.bidvertiser.com/bidvertiser/referral_button.html?pid=72716"></script>
<noscript>
<a href="http://www.bidvertiser.com/bdv/BidVertiser/bdv_advertiser.dbm">internet marketing</a>';
echo '<script language="javascript" type="text/javascript" src="http://bdv.bidvertiser.com/BidVertiser.dbm?pid=72716&bid=335628"></script>
<noscript>
<a href="http://www.bidvertiser.com/bdv/BidVertiser/bdv_advertiser.dbm">internet marketing</a>
</noscript>';
echo "<p><span class=\"style4\">"
  . "     <select name=\"menu1\" id=\"menu1\" onChange=\"MM_jumpMenu('parent',this,0)\">"
  . "       <option value=\"http://www.rorboy1983.com/modules.php?name=Photos_A$\" selected>Australia Dollar</option>"
  . "       <option value=\"http://www.rorboy1983.com/modules.php?name=Photos_C$\">Canada Dollar</option>"
  . "       <option value=\"http://www.rorboy1983.com/modules.php?name=Photos_XPF\">Central Pacific Franc</option>"
  . "       <option value=\"http://www.rorboy1983.com/modules.php?name=Photos_Euros\">Euros</option>"
  . "       <option value=\"http://www.rorboy1983.com/modules.php?name=Photos_F$\">Fiji Dollar</option>"
  . "       <option value=\"http://www.rorboy1983.com/modules.php?name=Photos_South_Pacific_2006\">South Pacific 2006</option>"
  . "       <option value=\"http://www.rorboy1983.com/modules.php?name=Photos_Sydney2005\">Sydney 2005</option>"
  . "       <option value=\"http://www.rorboy1983.com/modules.php?name=Photos_Tasmania2003\">Tasmania By Sea 2003</option>"
  . "       <option value=\"http://www.rorboy1983.com/modules.php?name=Photos_NZ$\">New Zealand Dollar</option>"
  . "       <option value=\"http://www.rorboy1983.com/modules.php?name=Photos_NZ2008\">New Zealand 2008</option>"
  . "       <option value=\"http://www.rorboy1983.com/modules.php?name=Photos_US$\">United States Dollar</option>"
  . "       <option value=\"http://www.rorboy1983.com/modules.php?name=Photos_Vt\">Vanuatu Vatu</option>"
  . "     </select>"
  . "   </span></p>"
  . "<font color=\"#000080\" size=\"5\">Photos (Australia Dollar)</font>    "
  . "   <p><a href=\"http://www.shareapic.net/content.php?id=7519987&owner=Rorie\" "
  . "target=\"_blank\"><img src=\"http://www.shareapic.net/preview3/007519987.jpg\" "
  . "border=\"0\"></a> <a "
  . "href=\"http://www.shareapic.net/content.php?id=7519988&owner=Rorie\" "
  . "target=\"_blank\"><img src=\"http://www.shareapic.net/preview3/007519988.jpg\" "
  . "border=\"0\"></a> <a "
  . "href=\"http://www.shareapic.net/content.php?id=7519989&owner=Rorie\" "
  . "target=\"_blank\"><img src=\"http://www.shareapic.net/preview3/007519989.jpg\" "
  . "border=\"0\"></a> <a "
  . "href=\"http://www.shareapic.net/content.php?id=7519990&owner=Rorie\" "
  . "target=\"_blank\"><img src=\"http://www.shareapic.net/preview3/007519990.jpg\" "
  . "border=\"0\"></a> <a "
  . "href=\"http://www.shareapic.net/content.php?id=7519991&owner=Rorie\" "
  . "target=\"_blank\"><img src=\"http://www.shareapic.net/preview3/007519991.jpg\" "
  . "border=\"0\"></a> <a "
  . "href=\"http://www.shareapic.net/content.php?id=7519992&owner=Rorie\" "
  . "target=\"_blank\"><img src=\"http://www.shareapic.net/preview3/007519992.jpg\" "
  . "border=\"0\"></a> <a "
  . "href=\"http://www.shareapic.net/content.php?id=7520010&owner=Rorie\" "
  . "target=\"_blank\"><img src=\"http://www.shareapic.net/preview3/007520010.jpg\" "
  . "border=\"0\"></a> <a "
  . "href=\"http://www.shareapic.net/content.php?id=7520011&owner=Rorie\" "
  . "target=\"_blank\"><img src=\"http://www.shareapic.net/preview3/007520011.jpg\" "
  . "border=\"0\"></a> <a "
  . "href=\"http://www.shareapic.net/content.php?id=7520012&owner=Rorie\" "
  . "target=\"_blank\"><img src=\"http://www.shareapic.net/preview3/007520012.gif\" "
  . "border=\"0\"></a> <a "
  . "href=\"http://www.shareapic.net/content.php?id=7520013&owner=Rorie\" "
  . "target=\"_blank\"><img src=\"http://www.shareapic.net/preview3/007520013.jpg\" "
  . "border=\"0\"></a> <a "
  . "href=\"http://www.shareapic.net/content.php?id=7520014&owner=Rorie\" "
  . "target=\"_blank\"><img src=\"http://www.shareapic.net/preview3/007520014.jpg\" "
  . "border=\"0\"></a> <a "
  . "href=\"http://www.shareapic.net/content.php?id=7520015&owner=Rorie\" "
  . "target=\"_blank\"><img src=\"http://www.shareapic.net/preview3/007520015.jpg\" "
  . "border=\"0\">";
CloseTable();
include("footer.php");
?>


the bidvetiser refferal button appears but still no bidvertiser ad's

source: Only registered users can see links on this board! Get registered or login!

don't worry about it ad's show now
 
rorie
PostPosted: Thu Sep 25, 2008 11:08 pm Reply with quote

testy1 wrote:
try this

Code:


<?php

if (!defined('MODULE_FILE'))
{
   die('You can\'t access this file directly...');
}
require_once('mainfile.php');
$module_name = basename(dirname(__FILE__));
get_lang($module_name);
include("header.php");
define('INDEX_FILE', true); //comment this out to hide right blocks
if (defined('INDEX_FILE')) { $index = 1; } else {$index = 0; } // auto set right blocks for pre patch 3.1 compatibility
OpenTable();

echo '<script language="javascript" type="text/javascript" src="http://bdv.bidvertiser.com/BidVertiser.dbm?pid=72716&bid=306813"></script>
<noscript>
<a href="http://www.bidvertiser.com/bdv/BidVertiser/bdv_advertiser.dbm">internet marketing</a>
</noscript>';

echo '<script language="javascript" type="text/javascript">
/* <![CDATA[ */
var bdv_ref_pid=72716;
var bdv_ref_type=\'i\';
var bdv_ref_option=\'p\';
var bdv_ref_eb=\'0\';
var bdv_ref_gif_id=\'ref_110x32_black_pbl\';
var bdv_ref_width=110;
var bdv_ref_height=32;
/* ]]> */
</script>';
echo '<script language="javascript" type="text/javascript" src="http://bdv.bidvertiser.com/bidvertiser/referral_button.html?pid=72716"></script>
<noscript>
<a href="http://www.bidvertiser.com/bdv/BidVertiser/bdv_advertiser.dbm">internet marketing</a>';
echo '<script language="javascript" type="text/javascript" src="http://bdv.bidvertiser.com/BidVertiser.dbm?pid=72716&bid=335628"></script>
<noscript>
<a href="http://www.bidvertiser.com/bdv/BidVertiser/bdv_advertiser.dbm">internet marketing</a>
</noscript>';
echo "<p><span class=\"style4\">"
  . "     <select name=\"menu1\" id=\"menu1\" onChange=\"MM_jumpMenu('parent',this,0)\">"
  . "       <option value=\"http://www.rorboy1983.com/modules.php?name=Photos_A$\" selected>Australia Dollar</option>"
  . "       <option value=\"http://www.rorboy1983.com/modules.php?name=Photos_C$\">Canada Dollar</option>"
  . "       <option value=\"http://www.rorboy1983.com/modules.php?name=Photos_XPF\">Central Pacific Franc</option>"
  . "       <option value=\"http://www.rorboy1983.com/modules.php?name=Photos_Euros\">Euros</option>"
  . "       <option value=\"http://www.rorboy1983.com/modules.php?name=Photos_F$\">Fiji Dollar</option>"
  . "       <option value=\"http://www.rorboy1983.com/modules.php?name=Photos_South_Pacific_2006\">South Pacific 2006</option>"
  . "       <option value=\"http://www.rorboy1983.com/modules.php?name=Photos_Sydney2005\">Sydney 2005</option>"
  . "       <option value=\"http://www.rorboy1983.com/modules.php?name=Photos_Tasmania2003\">Tasmania By Sea 2003</option>"
  . "       <option value=\"http://www.rorboy1983.com/modules.php?name=Photos_NZ$\">New Zealand Dollar</option>"
  . "       <option value=\"http://www.rorboy1983.com/modules.php?name=Photos_NZ2008\">New Zealand 2008</option>"
  . "       <option value=\"http://www.rorboy1983.com/modules.php?name=Photos_US$\">United States Dollar</option>"
  . "       <option value=\"http://www.rorboy1983.com/modules.php?name=Photos_Vt\">Vanuatu Vatu</option>"
  . "     </select>"
  . "   </span></p>"
  . "<font color=\"#000080\" size=\"5\">Photos (Australia Dollar)</font>    "
  . "   <p><a href=\"http://www.shareapic.net/content.php?id=7519987&owner=Rorie\" "
  . "target=\"_blank\"><img src=\"http://www.shareapic.net/preview3/007519987.jpg\" "
  . "border=\"0\"></a> <a "
  . "href=\"http://www.shareapic.net/content.php?id=7519988&owner=Rorie\" "
  . "target=\"_blank\"><img src=\"http://www.shareapic.net/preview3/007519988.jpg\" "
  . "border=\"0\"></a> <a "
  . "href=\"http://www.shareapic.net/content.php?id=7519989&owner=Rorie\" "
  . "target=\"_blank\"><img src=\"http://www.shareapic.net/preview3/007519989.jpg\" "
  . "border=\"0\"></a> <a "
  . "href=\"http://www.shareapic.net/content.php?id=7519990&owner=Rorie\" "
  . "target=\"_blank\"><img src=\"http://www.shareapic.net/preview3/007519990.jpg\" "
  . "border=\"0\"></a> <a "
  . "href=\"http://www.shareapic.net/content.php?id=7519991&owner=Rorie\" "
  . "target=\"_blank\"><img src=\"http://www.shareapic.net/preview3/007519991.jpg\" "
  . "border=\"0\"></a> <a "
  . "href=\"http://www.shareapic.net/content.php?id=7519992&owner=Rorie\" "
  . "target=\"_blank\"><img src=\"http://www.shareapic.net/preview3/007519992.jpg\" "
  . "border=\"0\"></a> <a "
  . "href=\"http://www.shareapic.net/content.php?id=7520010&owner=Rorie\" "
  . "target=\"_blank\"><img src=\"http://www.shareapic.net/preview3/007520010.jpg\" "
  . "border=\"0\"></a> <a "
  . "href=\"http://www.shareapic.net/content.php?id=7520011&owner=Rorie\" "
  . "target=\"_blank\"><img src=\"http://www.shareapic.net/preview3/007520011.jpg\" "
  . "border=\"0\"></a> <a "
  . "href=\"http://www.shareapic.net/content.php?id=7520012&owner=Rorie\" "
  . "target=\"_blank\"><img src=\"http://www.shareapic.net/preview3/007520012.gif\" "
  . "border=\"0\"></a> <a "
  . "href=\"http://www.shareapic.net/content.php?id=7520013&owner=Rorie\" "
  . "target=\"_blank\"><img src=\"http://www.shareapic.net/preview3/007520013.jpg\" "
  . "border=\"0\"></a> <a "
  . "href=\"http://www.shareapic.net/content.php?id=7520014&owner=Rorie\" "
  . "target=\"_blank\"><img src=\"http://www.shareapic.net/preview3/007520014.jpg\" "
  . "border=\"0\"></a> <a "
  . "href=\"http://www.shareapic.net/content.php?id=7520015&owner=Rorie\" "
  . "target=\"_blank\"><img src=\"http://www.shareapic.net/preview3/007520015.jpg\" "
  . "border=\"0\">";
CloseTable();
include("footer.php");
?>


i forgot to add the javascript for the drop-down menu to function

Code:
<script type="text/JavaScript">

<!--
function MM_jumpMenu(targ,selObj,restore){ //v3.0
  eval(targ+".location='"+selObj.options[selObj.selectedIndex].value+"'");
  if (restore) selObj.selectedIndex=0;
}
//-->
</script>


once again can you please incorporate it into the code?. i tried doing it myself but i mucked up the code because i got a blank page again when i reloaded it to test the new code
 
testy1
PostPosted: Fri Sep 26, 2008 2:16 am Reply with quote

That should be right

Code:



<?php

if (!defined('MODULE_FILE'))
{
   die('You can\'t access this file directly...');
}
require_once('mainfile.php');
$module_name = basename(dirname(__FILE__));
get_lang($module_name);
include("header.php");
define('INDEX_FILE', true); //comment this out to hide right blocks
if (defined('INDEX_FILE')) { $index = 1; } else {$index = 0; } // auto set right blocks for pre patch 3.1 compatibility
OpenTable();
echo '<script type="text/JavaScript">
<!--
function MM_jumpMenu(targ,selObj,restore){ //v3.0
  eval(targ+".location=\'"+selObj.options[selObj.selectedIndex].value+"\'");
  if (restore) selObj.selectedIndex=0;
}
//-->
</script>';
echo '<script language="javascript" type="text/javascript" src="http://bdv.bidvertiser.com/BidVertiser.dbm?pid=72716&bid=306813"></script>
<noscript>
<a href="http://www.bidvertiser.com/bdv/BidVertiser/bdv_advertiser.dbm">internet marketing</a>
</noscript>';

echo '<script language="javascript" type="text/javascript">
/* <![CDATA[ */
var bdv_ref_pid=72716;
var bdv_ref_type=\'i\';
var bdv_ref_option=\'p\';
var bdv_ref_eb=\'0\';
var bdv_ref_gif_id=\'ref_110x32_black_pbl\';
var bdv_ref_width=110;
var bdv_ref_height=32;
/* ]]> */
</script>';
echo '<script language="javascript" type="text/javascript" src="http://bdv.bidvertiser.com/bidvertiser/referral_button.html?pid=72716"></script>
<noscript>
<a href="http://www.bidvertiser.com/bdv/BidVertiser/bdv_advertiser.dbm">internet marketing</a>';
echo '<script language="javascript" type="text/javascript" src="http://bdv.bidvertiser.com/BidVertiser.dbm?pid=72716&bid=335628"></script>
<noscript>
<a href="http://www.bidvertiser.com/bdv/BidVertiser/bdv_advertiser.dbm">internet marketing</a>
</noscript>';
echo "<p><span class=\"style4\">"
  . "     <select name=\"menu1\" id=\"menu1\" onChange=\"MM_jumpMenu('parent',this,0)\">"
  . "       <option value=\"http://www.rorboy1983.com/modules.php?name=Photos_A$\" selected>Australia Dollar</option>"
  . "       <option value=\"http://www.rorboy1983.com/modules.php?name=Photos_C$\">Canada Dollar</option>"
  . "       <option value=\"http://www.rorboy1983.com/modules.php?name=Photos_XPF\">Central Pacific Franc</option>"
  . "       <option value=\"http://www.rorboy1983.com/modules.php?name=Photos_Euros\">Euros</option>"
  . "       <option value=\"http://www.rorboy1983.com/modules.php?name=Photos_F$\">Fiji Dollar</option>"
  . "       <option value=\"http://www.rorboy1983.com/modules.php?name=Photos_South_Pacific_2006\">South Pacific 2006</option>"
  . "       <option value=\"http://www.rorboy1983.com/modules.php?name=Photos_Sydney2005\">Sydney 2005</option>"
  . "       <option value=\"http://www.rorboy1983.com/modules.php?name=Photos_Tasmania2003\">Tasmania By Sea 2003</option>"
  . "       <option value=\"http://www.rorboy1983.com/modules.php?name=Photos_NZ$\">New Zealand Dollar</option>"
  . "       <option value=\"http://www.rorboy1983.com/modules.php?name=Photos_NZ2008\">New Zealand 2008</option>"
  . "       <option value=\"http://www.rorboy1983.com/modules.php?name=Photos_US$\">United States Dollar</option>"
  . "       <option value=\"http://www.rorboy1983.com/modules.php?name=Photos_Vt\">Vanuatu Vatu</option>"
  . "     </select>"
  . "   </span></p>"
  . "<font color=\"#000080\" size=\"5\">Photos (Australia Dollar)</font>    "
  . "   <p><a href=\"http://www.shareapic.net/content.php?id=7519987&owner=Rorie\" "
  . "target=\"_blank\"><img src=\"http://www.shareapic.net/preview3/007519987.jpg\" "
  . "border=\"0\"></a> <a "
  . "href=\"http://www.shareapic.net/content.php?id=7519988&owner=Rorie\" "
  . "target=\"_blank\"><img src=\"http://www.shareapic.net/preview3/007519988.jpg\" "
  . "border=\"0\"></a> <a "
  . "href=\"http://www.shareapic.net/content.php?id=7519989&owner=Rorie\" "
  . "target=\"_blank\"><img src=\"http://www.shareapic.net/preview3/007519989.jpg\" "
  . "border=\"0\"></a> <a "
  . "href=\"http://www.shareapic.net/content.php?id=7519990&owner=Rorie\" "
  . "target=\"_blank\"><img src=\"http://www.shareapic.net/preview3/007519990.jpg\" "
  . "border=\"0\"></a> <a "
  . "href=\"http://www.shareapic.net/content.php?id=7519991&owner=Rorie\" "
  . "target=\"_blank\"><img src=\"http://www.shareapic.net/preview3/007519991.jpg\" "
  . "border=\"0\"></a> <a "
  . "href=\"http://www.shareapic.net/content.php?id=7519992&owner=Rorie\" "
  . "target=\"_blank\"><img src=\"http://www.shareapic.net/preview3/007519992.jpg\" "
  . "border=\"0\"></a> <a "
  . "href=\"http://www.shareapic.net/content.php?id=7520010&owner=Rorie\" "
  . "target=\"_blank\"><img src=\"http://www.shareapic.net/preview3/007520010.jpg\" "
  . "border=\"0\"></a> <a "
  . "href=\"http://www.shareapic.net/content.php?id=7520011&owner=Rorie\" "
  . "target=\"_blank\"><img src=\"http://www.shareapic.net/preview3/007520011.jpg\" "
  . "border=\"0\"></a> <a "
  . "href=\"http://www.shareapic.net/content.php?id=7520012&owner=Rorie\" "
  . "target=\"_blank\"><img src=\"http://www.shareapic.net/preview3/007520012.gif\" "
  . "border=\"0\"></a> <a "
  . "href=\"http://www.shareapic.net/content.php?id=7520013&owner=Rorie\" "
  . "target=\"_blank\"><img src=\"http://www.shareapic.net/preview3/007520013.jpg\" "
  . "border=\"0\"></a> <a "
  . "href=\"http://www.shareapic.net/content.php?id=7520014&owner=Rorie\" "
  . "target=\"_blank\"><img src=\"http://www.shareapic.net/preview3/007520014.jpg\" "
  . "border=\"0\"></a> <a "
  . "href=\"http://www.shareapic.net/content.php?id=7520015&owner=Rorie\" "
  . "target=\"_blank\"><img src=\"http://www.shareapic.net/preview3/007520015.jpg\" "
  . "border=\"0\">";
CloseTable();
include("footer.php");
?>
 
rorie
PostPosted: Sat Sep 27, 2008 3:31 am Reply with quote

testy1 wrote:
That should be right

Code:



<?php

if (!defined('MODULE_FILE'))
{
   die('You can\'t access this file directly...');
}
require_once('mainfile.php');
$module_name = basename(dirname(__FILE__));
get_lang($module_name);
include("header.php");
define('INDEX_FILE', true); //comment this out to hide right blocks
if (defined('INDEX_FILE')) { $index = 1; } else {$index = 0; } // auto set right blocks for pre patch 3.1 compatibility
OpenTable();
echo '<script type="text/JavaScript">
<!--
function MM_jumpMenu(targ,selObj,restore){ //v3.0
  eval(targ+".location=\'"+selObj.options[selObj.selectedIndex].value+"\'");
  if (restore) selObj.selectedIndex=0;
}
//-->
</script>';
echo '<script language="javascript" type="text/javascript" src="http://bdv.bidvertiser.com/BidVertiser.dbm?pid=72716&bid=306813"></script>
<noscript>
<a href="http://www.bidvertiser.com/bdv/BidVertiser/bdv_advertiser.dbm">internet marketing</a>
</noscript>';

echo '<script language="javascript" type="text/javascript">
/* <![CDATA[ */
var bdv_ref_pid=72716;
var bdv_ref_type=\'i\';
var bdv_ref_option=\'p\';
var bdv_ref_eb=\'0\';
var bdv_ref_gif_id=\'ref_110x32_black_pbl\';
var bdv_ref_width=110;
var bdv_ref_height=32;
/* ]]> */
</script>';
echo '<script language="javascript" type="text/javascript" src="http://bdv.bidvertiser.com/bidvertiser/referral_button.html?pid=72716"></script>
<noscript>
<a href="http://www.bidvertiser.com/bdv/BidVertiser/bdv_advertiser.dbm">internet marketing</a>';
echo '<script language="javascript" type="text/javascript" src="http://bdv.bidvertiser.com/BidVertiser.dbm?pid=72716&bid=335628"></script>
<noscript>
<a href="http://www.bidvertiser.com/bdv/BidVertiser/bdv_advertiser.dbm">internet marketing</a>
</noscript>';
echo "<p><span class=\"style4\">"
  . "     <select name=\"menu1\" id=\"menu1\" onChange=\"MM_jumpMenu('parent',this,0)\">"
  . "       <option value=\"http://www.rorboy1983.com/modules.php?name=Photos_A$\" selected>Australia Dollar</option>"
  . "       <option value=\"http://www.rorboy1983.com/modules.php?name=Photos_C$\">Canada Dollar</option>"
  . "       <option value=\"http://www.rorboy1983.com/modules.php?name=Photos_XPF\">Central Pacific Franc</option>"
  . "       <option value=\"http://www.rorboy1983.com/modules.php?name=Photos_Euros\">Euros</option>"
  . "       <option value=\"http://www.rorboy1983.com/modules.php?name=Photos_F$\">Fiji Dollar</option>"
  . "       <option value=\"http://www.rorboy1983.com/modules.php?name=Photos_South_Pacific_2006\">South Pacific 2006</option>"
  . "       <option value=\"http://www.rorboy1983.com/modules.php?name=Photos_Sydney2005\">Sydney 2005</option>"
  . "       <option value=\"http://www.rorboy1983.com/modules.php?name=Photos_Tasmania2003\">Tasmania By Sea 2003</option>"
  . "       <option value=\"http://www.rorboy1983.com/modules.php?name=Photos_NZ$\">New Zealand Dollar</option>"
  . "       <option value=\"http://www.rorboy1983.com/modules.php?name=Photos_NZ2008\">New Zealand 2008</option>"
  . "       <option value=\"http://www.rorboy1983.com/modules.php?name=Photos_US$\">United States Dollar</option>"
  . "       <option value=\"http://www.rorboy1983.com/modules.php?name=Photos_Vt\">Vanuatu Vatu</option>"
  . "     </select>"
  . "   </span></p>"
  . "<font color=\"#000080\" size=\"5\">Photos (Australia Dollar)</font>    "
  . "   <p><a href=\"http://www.shareapic.net/content.php?id=7519987&owner=Rorie\" "
  . "target=\"_blank\"><img src=\"http://www.shareapic.net/preview3/007519987.jpg\" "
  . "border=\"0\"></a> <a "
  . "href=\"http://www.shareapic.net/content.php?id=7519988&owner=Rorie\" "
  . "target=\"_blank\"><img src=\"http://www.shareapic.net/preview3/007519988.jpg\" "
  . "border=\"0\"></a> <a "
  . "href=\"http://www.shareapic.net/content.php?id=7519989&owner=Rorie\" "
  . "target=\"_blank\"><img src=\"http://www.shareapic.net/preview3/007519989.jpg\" "
  . "border=\"0\"></a> <a "
  . "href=\"http://www.shareapic.net/content.php?id=7519990&owner=Rorie\" "
  . "target=\"_blank\"><img src=\"http://www.shareapic.net/preview3/007519990.jpg\" "
  . "border=\"0\"></a> <a "
  . "href=\"http://www.shareapic.net/content.php?id=7519991&owner=Rorie\" "
  . "target=\"_blank\"><img src=\"http://www.shareapic.net/preview3/007519991.jpg\" "
  . "border=\"0\"></a> <a "
  . "href=\"http://www.shareapic.net/content.php?id=7519992&owner=Rorie\" "
  . "target=\"_blank\"><img src=\"http://www.shareapic.net/preview3/007519992.jpg\" "
  . "border=\"0\"></a> <a "
  . "href=\"http://www.shareapic.net/content.php?id=7520010&owner=Rorie\" "
  . "target=\"_blank\"><img src=\"http://www.shareapic.net/preview3/007520010.jpg\" "
  . "border=\"0\"></a> <a "
  . "href=\"http://www.shareapic.net/content.php?id=7520011&owner=Rorie\" "
  . "target=\"_blank\"><img src=\"http://www.shareapic.net/preview3/007520011.jpg\" "
  . "border=\"0\"></a> <a "
  . "href=\"http://www.shareapic.net/content.php?id=7520012&owner=Rorie\" "
  . "target=\"_blank\"><img src=\"http://www.shareapic.net/preview3/007520012.gif\" "
  . "border=\"0\"></a> <a "
  . "href=\"http://www.shareapic.net/content.php?id=7520013&owner=Rorie\" "
  . "target=\"_blank\"><img src=\"http://www.shareapic.net/preview3/007520013.jpg\" "
  . "border=\"0\"></a> <a "
  . "href=\"http://www.shareapic.net/content.php?id=7520014&owner=Rorie\" "
  . "target=\"_blank\"><img src=\"http://www.shareapic.net/preview3/007520014.jpg\" "
  . "border=\"0\"></a> <a "
  . "href=\"http://www.shareapic.net/content.php?id=7520015&owner=Rorie\" "
  . "target=\"_blank\"><img src=\"http://www.shareapic.net/preview3/007520015.jpg\" "
  . "border=\"0\">";
CloseTable();
include("footer.php");
?>


thank you very much the javascript menu now works. i am trying to learn on from this code as i have to do it with other photo pages but it is very confusing. is there a generator on the web that may help me or do i have to code myself?
 
rorie
PostPosted: Sat Sep 27, 2008 4:32 am Reply with quote

rorie wrote:
testy1 wrote:
try this

Code:


<?php

if (!defined('MODULE_FILE'))
{
   die('You can\'t access this file directly...');
}
require_once('mainfile.php');
$module_name = basename(dirname(__FILE__));
get_lang($module_name);
include("header.php");
define('INDEX_FILE', true); //comment this out to hide right blocks
if (defined('INDEX_FILE')) { $index = 1; } else {$index = 0; } // auto set right blocks for pre patch 3.1 compatibility
OpenTable();

echo '<script language="javascript" type="text/javascript" src="http://bdv.bidvertiser.com/BidVertiser.dbm?pid=72716&bid=306813"></script>
<noscript>
<a href="http://www.bidvertiser.com/bdv/BidVertiser/bdv_advertiser.dbm">internet marketing</a>
</noscript>';

echo '<script language="javascript" type="text/javascript">
/* <![CDATA[ */
var bdv_ref_pid=72716;
var bdv_ref_type=\'i\';
var bdv_ref_option=\'p\';
var bdv_ref_eb=\'0\';
var bdv_ref_gif_id=\'ref_110x32_black_pbl\';
var bdv_ref_width=110;
var bdv_ref_height=32;
/* ]]> */
</script>';
echo '<script language="javascript" type="text/javascript" src="http://bdv.bidvertiser.com/bidvertiser/referral_button.html?pid=72716"></script>
<noscript>
<a href="http://www.bidvertiser.com/bdv/BidVertiser/bdv_advertiser.dbm">internet marketing</a>';
echo '<script language="javascript" type="text/javascript" src="http://bdv.bidvertiser.com/BidVertiser.dbm?pid=72716&bid=335628"></script>
<noscript>
<a href="http://www.bidvertiser.com/bdv/BidVertiser/bdv_advertiser.dbm">internet marketing</a>
</noscript>';
echo "<p><span class=\"style4\">"
  . "     <select name=\"menu1\" id=\"menu1\" onChange=\"MM_jumpMenu('parent',this,0)\">"
  . "       <option value=\"http://www.rorboy1983.com/modules.php?name=Photos_A$\" selected>Australia Dollar</option>"
  . "       <option value=\"http://www.rorboy1983.com/modules.php?name=Photos_C$\">Canada Dollar</option>"
  . "       <option value=\"http://www.rorboy1983.com/modules.php?name=Photos_XPF\">Central Pacific Franc</option>"
  . "       <option value=\"http://www.rorboy1983.com/modules.php?name=Photos_Euros\">Euros</option>"
  . "       <option value=\"http://www.rorboy1983.com/modules.php?name=Photos_F$\">Fiji Dollar</option>"
  . "       <option value=\"http://www.rorboy1983.com/modules.php?name=Photos_South_Pacific_2006\">South Pacific 2006</option>"
  . "       <option value=\"http://www.rorboy1983.com/modules.php?name=Photos_Sydney2005\">Sydney 2005</option>"
  . "       <option value=\"http://www.rorboy1983.com/modules.php?name=Photos_Tasmania2003\">Tasmania By Sea 2003</option>"
  . "       <option value=\"http://www.rorboy1983.com/modules.php?name=Photos_NZ$\">New Zealand Dollar</option>"
  . "       <option value=\"http://www.rorboy1983.com/modules.php?name=Photos_NZ2008\">New Zealand 2008</option>"
  . "       <option value=\"http://www.rorboy1983.com/modules.php?name=Photos_US$\">United States Dollar</option>"
  . "       <option value=\"http://www.rorboy1983.com/modules.php?name=Photos_Vt\">Vanuatu Vatu</option>"
  . "     </select>"
  . "   </span></p>"
  . "<font color=\"#000080\" size=\"5\">Photos (Australia Dollar)</font>    "
  . "   <p><a href=\"http://www.shareapic.net/content.php?id=7519987&owner=Rorie\" "
  . "target=\"_blank\"><img src=\"http://www.shareapic.net/preview3/007519987.jpg\" "
  . "border=\"0\"></a> <a "
  . "href=\"http://www.shareapic.net/content.php?id=7519988&owner=Rorie\" "
  . "target=\"_blank\"><img src=\"http://www.shareapic.net/preview3/007519988.jpg\" "
  . "border=\"0\"></a> <a "
  . "href=\"http://www.shareapic.net/content.php?id=7519989&owner=Rorie\" "
  . "target=\"_blank\"><img src=\"http://www.shareapic.net/preview3/007519989.jpg\" "
  . "border=\"0\"></a> <a "
  . "href=\"http://www.shareapic.net/content.php?id=7519990&owner=Rorie\" "
  . "target=\"_blank\"><img src=\"http://www.shareapic.net/preview3/007519990.jpg\" "
  . "border=\"0\"></a> <a "
  . "href=\"http://www.shareapic.net/content.php?id=7519991&owner=Rorie\" "
  . "target=\"_blank\"><img src=\"http://www.shareapic.net/preview3/007519991.jpg\" "
  . "border=\"0\"></a> <a "
  . "href=\"http://www.shareapic.net/content.php?id=7519992&owner=Rorie\" "
  . "target=\"_blank\"><img src=\"http://www.shareapic.net/preview3/007519992.jpg\" "
  . "border=\"0\"></a> <a "
  . "href=\"http://www.shareapic.net/content.php?id=7520010&owner=Rorie\" "
  . "target=\"_blank\"><img src=\"http://www.shareapic.net/preview3/007520010.jpg\" "
  . "border=\"0\"></a> <a "
  . "href=\"http://www.shareapic.net/content.php?id=7520011&owner=Rorie\" "
  . "target=\"_blank\"><img src=\"http://www.shareapic.net/preview3/007520011.jpg\" "
  . "border=\"0\"></a> <a "
  . "href=\"http://www.shareapic.net/content.php?id=7520012&owner=Rorie\" "
  . "target=\"_blank\"><img src=\"http://www.shareapic.net/preview3/007520012.gif\" "
  . "border=\"0\"></a> <a "
  . "href=\"http://www.shareapic.net/content.php?id=7520013&owner=Rorie\" "
  . "target=\"_blank\"><img src=\"http://www.shareapic.net/preview3/007520013.jpg\" "
  . "border=\"0\"></a> <a "
  . "href=\"http://www.shareapic.net/content.php?id=7520014&owner=Rorie\" "
  . "target=\"_blank\"><img src=\"http://www.shareapic.net/preview3/007520014.jpg\" "
  . "border=\"0\"></a> <a "
  . "href=\"http://www.shareapic.net/content.php?id=7520015&owner=Rorie\" "
  . "target=\"_blank\"><img src=\"http://www.shareapic.net/preview3/007520015.jpg\" "
  . "border=\"0\">";
CloseTable();
include("footer.php");
?>


i forgot to add the javascript for the drop-down menu to function

Code:
<script type="text/JavaScript">

<!--
function MM_jumpMenu(targ,selObj,restore){ //v3.0
  eval(targ+".location='"+selObj.options[selObj.selectedIndex].value+"'");
  if (restore) selObj.selectedIndex=0;
}
//-->
</script>


once again can you please incorporate it into the code?. i tried doing it myself but i mucked up the code because i got a blank page again when i reloaded it to test the new code


i managed to find a tutorial Only registered users can see links on this board! Get registered or login!

that has made it easier by just adding one line of coding so i will follow that from now on. however i cannot get my javascript dropdown menu to work. can you remove the bidvertiser coding from the code you gave me & leave only the code for the dropdown menu so that it will work, text & images only?

thank you
rorie
 
rorie
PostPosted: Sun Sep 28, 2008 7:21 pm Reply with quote

can i please have just the code for images, text & javascript for the drop down menu to work?

thanx
 
testy1
PostPosted: Tue Sep 30, 2008 9:21 pm Reply with quote

here is a converter i have used for a long time.

Code:


<!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>HTML to PHP</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<script type="text/javascript">
function scriptPHPEcho(data){
data.value =                    '<\?php\n' + data.value.replace(/\x0d/g, '').replace(/'/g,
"\\'").replace(/^([^\x0d\x0a]*)$/gm, 'echo \'$1\' . "\\n";').replace(/echo '' \. "\\n";/g,
                                                                 'echo "\\n";') + '\n\?>';
}

function scriptPHPContent(data){
data.value =                    '<\?php\n' + data.value.replace(/\x0d/g, '').replace(/'/g,
"\\'").replace(/^([^\x0d\x0a]*)$/gm, '$content .= \'$1\' . "\\n";').replace(/$content .= '' \. "\\n";/g,
                                                                 '$content .= "\\n";') + '\n\?>';
}

function copyF(txx){
with(txx){
focus();
select();
}
if(txx.createTextRange){
var txt = txx.createTextRange();
if(txt.execCommand)
txt.execCommand('Copy');
}
}
</script>
</head>

<body onload="document.forms['doc'].elements['tx'].focus();">
<div id="content">
  <h2>HTML Converter</h2>
  <div class="feature">
    <h3><br />

      <br />
    </h3>
    <form action="" name="doc" id="doc">
<div>
     <textarea name="tx" cols="65" rows="20" class="input1"></textarea>
     <br />
     <input name="button" type="button" class="input2" onclick="scriptPHPEcho(this.form.elements['tx'])" value="HTML -&gt; Echo" />
      <input name="button" type="button" class="input2" onclick="scriptPHPContent(this.form.elements['tx'])" value="HTML -&gt; $content" />
      <input name="reset" type="reset" class="input2" value="Reset" onclick="this.form.elements['tx'].focus()" />

      <input name="button2" type="button" class="input2" onclick="copyF(this.form.elements['tx'])" value="Select All" />
</div>
    </form>
  </div>
</div>
</body>
</html>
 
rorie
PostPosted: Wed Oct 01, 2008 9:48 pm Reply with quote

testy1 wrote:
here is a converter i have used for a long time.

Code:


<!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>HTML to PHP</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<script type="text/javascript">
function scriptPHPEcho(data){
data.value =                    '<\?php\n' + data.value.replace(/\x0d/g, '').replace(/'/g,
"\\'").replace(/^([^\x0d\x0a]*)$/gm, 'echo \'$1\' . "\\n";').replace(/echo '' \. "\\n";/g,
                                                                 'echo "\\n";') + '\n\?>';
}

function scriptPHPContent(data){
data.value =                    '<\?php\n' + data.value.replace(/\x0d/g, '').replace(/'/g,
"\\'").replace(/^([^\x0d\x0a]*)$/gm, '$content .= \'$1\' . "\\n";').replace(/$content .= '' \. "\\n";/g,
                                                                 '$content .= "\\n";') + '\n\?>';
}

function copyF(txx){
with(txx){
focus();
select();
}
if(txx.createTextRange){
var txt = txx.createTextRange();
if(txt.execCommand)
txt.execCommand('Copy');
}
}
</script>
</head>

<body onload="document.forms['doc'].elements['tx'].focus();">
<div id="content">
  <h2>HTML Converter</h2>
  <div class="feature">
    <h3><br />

      <br />
    </h3>
    <form action="" name="doc" id="doc">
<div>
     <textarea name="tx" cols="65" rows="20" class="input1"></textarea>
     <br />
     <input name="button" type="button" class="input2" onclick="scriptPHPEcho(this.form.elements['tx'])" value="HTML -&gt; Echo" />
      <input name="button" type="button" class="input2" onclick="scriptPHPContent(this.form.elements['tx'])" value="HTML -&gt; $content" />
      <input name="reset" type="reset" class="input2" value="Reset" onclick="this.form.elements['tx'].focus()" />

      <input name="button2" type="button" class="input2" onclick="copyF(this.form.elements['tx'])" value="Select All" />
</div>
    </form>
  </div>
</div>
</body>
</html>


tried using that but the echo & content tags still confuse me. what if i pm you the photo & drop down menu code i want converted & you do the coding for me. i will pay you if you will do this for me. are you interested?
 
testy1
PostPosted: Thu Oct 02, 2008 1:55 am Reply with quote

just post it here and Ill convert it for you, If you feel the need to pay just make a donation to raven.
 
rorie
PostPosted: Fri Oct 03, 2008 6:33 pm Reply with quote

testy1 wrote:
just post it here and Ill convert it for you, If you feel the need to pay just make a donation to raven.


code 1: australian dollar photos

Edited by Guardian
Please do not post this much code in a forum post (snippets only). The best way to handle this is to link to a plain text file with the code in it.
 
testy1
PostPosted: Fri Oct 03, 2008 7:20 pm Reply with quote

Ill have a look.......in the mean time maybe a mod could put it into code tags.
 
testy1
PostPosted: Fri Oct 03, 2008 7:47 pm Reply with quote

ok here uis an example for you.

I took the australian code and just cleaned it up and layed it out a little better (see below)

Code:


<script type="text/javascript" language="JavaScript">
/* <![CDATA[ */
function MM_jumpMenu(targ,selObj,restore){ //v3.0
eval(targ+".location='"+selObj.options[selObj.selectedIndex].value+"'");
if (restore) selObj.selectedIndex=0;
}
/* ]]> */
</script>
    <span class="style4">
      <select name="menu1" id="menu1" onchange="MM_jumpMenu('parent',this,0)">
        <option value="http://www.rorboy1983.com/modules.php?name=Photos_A$" selected="selected">Australia Dollar
        </option>
        <option value="http://www.rorboy1983.com/modules.php?name=Photos_C$">Canada Dollar
        </option>
        <option value="http://www.rorboy1983.com/modules.php?name=Photos_XPF">Central Pacific Franc
        </option>
        <option value="http://www.rorboy1983.com/modules.php?name=Photos_Euros">Euros
        </option>
        <option value="http://www.rorboy1983.com/modules.php?name=Photos_F$">Fiji Dollar
        </option>
        <option value="http://www.rorboy1983.com/modules.php?name=Photos_South_Pacific_2006">South Pacific 2006
        </option>
        <option value="http://www.rorboy1983.com/modules.php?name=Photos_Sydney2005">Sydney 2005
        </option>
        <option value="http://www.rorboy1983.com/modules.php?name=Photos_Tasmania2003">Tasmania By Sea 2003
        </option>
        <option value="http://www.rorboy1983.com/modules.php?name=Photos_NZ$">New Zealand Dollar
        </option>
        <option value="http://www.rorboy1983.com/modules.php?name=Photos_NZ2008">New Zealand 2008
        </option>
        <option value="http://www.rorboy1983.com/modules.php?name=Photos_US$">United States Dollar
        </option>
        <option value="http://www.rorboy1983.com/modules.php?name=Photos_Vt">Vanuatu Vatu
        </option>
      </select>
    </span>
    <p>
      <font color="#000080" size="5">Photos (Australia Dollar)
      </font>
      <a href="http://www.shareapic.net/content.php?id=7519987&amp;owner=Rorie"  target="_blank">
        <img src="http://www.shareapic.net/preview3/007519987.jpg"  border="0" alt="" /></a>
      <a  href="http://www.shareapic.net/content.php?id=7519988&amp;owner=Rorie"  target="_blank">
        <img src="http://www.shareapic.net/preview3/007519988.jpg"  border="0" alt="" /></a>
      <a  href="http://www.shareapic.net/content.php?id=7519989&amp;owner=Rorie"  target="_blank">
        <img src="http://www.shareapic.net/preview3/007519989.jpg"  border="0" alt="" /></a>
      <a  href="http://www.shareapic.net/content.php?id=7519990&amp;owner=Rorie"  target="_blank">
        <img src="http://www.shareapic.net/preview3/007519990.jpg"  border="0" alt="" /></a>
      <a  href="http://www.shareapic.net/content.php?id=7519991&amp;owner=Rorie"  target="_blank">
        <img src="http://www.shareapic.net/preview3/007519991.jpg"  border="0" alt="" /></a>
      <a  href="http://www.shareapic.net/content.php?id=7519992&amp;owner=Rorie"  target="_blank">
        <img src="http://www.shareapic.net/preview3/007519992.jpg"  border="0" alt="" /></a>
      <a  href="http://www.shareapic.net/content.php?id=7520010&amp;owner=Rorie"  target="_blank">
        <img src="http://www.shareapic.net/preview3/007520010.jpg"  border="0" alt="" /></a>
      <a  href="http://www.shareapic.net/content.php?id=7520011&amp;owner=Rorie"  target="_blank">
        <img src="http://www.shareapic.net/preview3/007520011.jpg"  border="0" alt="" /></a>
      <a  href="http://www.shareapic.net/content.php?id=7520012&amp;owner=Rorie"  target="_blank">
        <img src="http://www.shareapic.net/preview3/007520012.gif"  border="0" alt="" /></a>
      <a  href="http://www.shareapic.net/content.php?id=7520013&amp;owner=Rorie"  target="_blank">
        <img src="http://www.shareapic.net/preview3/007520013.jpg"  border="0" alt="" /></a>
      <a  href="http://www.shareapic.net/content.php?id=7520014&amp;owner=Rorie"  target="_blank">
        <img src="http://www.shareapic.net/preview3/007520014.jpg"  border="0" alt="" /></a>
      <a  href="http://www.shareapic.net/content.php?id=7520015&owner=Rorie"  target="_blank">
        <img src="http://www.shareapic.net/preview3/007520015.jpg" border="0" alt="" /></a>
    </p>


I then just ran it through the converter I supplied above and this is what it output.

Code:


echo '<script type="text/javascript" language="JavaScript">' . "\n";
echo '/* <![CDATA[ */' . "\n";
echo 'function MM_jumpMenu(targ,selObj,restore){ //v3.0' . "\n";
echo 'eval(targ+".location=\'"+selObj.options[selObj.selectedIndex].value+"\'");' . "\n";
echo 'if (restore) selObj.selectedIndex=0;' . "\n";
echo '}' . "\n";
echo '/* ]]> */' . "\n";
echo '</script>' . "\n";
echo '    <span class="style4">' . "\n";
echo '      <select name="menu1" id="menu1" onchange="MM_jumpMenu(\'parent\',this,0)">' . "\n";
echo '        <option value="http://www.rorboy1983.com/modules.php?name=Photos_A$" selected="selected">Australia Dollar' . "\n";
echo '        </option>' . "\n";
echo '        <option value="http://www.rorboy1983.com/modules.php?name=Photos_C$">Canada Dollar' . "\n";
echo '        </option>' . "\n";
echo '        <option value="http://www.rorboy1983.com/modules.php?name=Photos_XPF">Central Pacific Franc' . "\n";
echo '        </option>' . "\n";
echo '        <option value="http://www.rorboy1983.com/modules.php?name=Photos_Euros">Euros' . "\n";
echo '        </option>' . "\n";
echo '        <option value="http://www.rorboy1983.com/modules.php?name=Photos_F$">Fiji Dollar' . "\n";
echo '        </option>' . "\n";
echo '        <option value="http://www.rorboy1983.com/modules.php?name=Photos_South_Pacific_2006">South Pacific 2006' . "\n";
echo '        </option>' . "\n";
echo '        <option value="http://www.rorboy1983.com/modules.php?name=Photos_Sydney2005">Sydney 2005' . "\n";
echo '        </option>' . "\n";
echo '        <option value="http://www.rorboy1983.com/modules.php?name=Photos_Tasmania2003">Tasmania By Sea 2003' . "\n";
echo '        </option>' . "\n";
echo '        <option value="http://www.rorboy1983.com/modules.php?name=Photos_NZ$">New Zealand Dollar' . "\n";
echo '        </option>' . "\n";
echo '        <option value="http://www.rorboy1983.com/modules.php?name=Photos_NZ2008">New Zealand 2008' . "\n";
echo '        </option>' . "\n";
echo '        <option value="http://www.rorboy1983.com/modules.php?name=Photos_US$">United States Dollar' . "\n";
echo '        </option>' . "\n";
echo '        <option value="http://www.rorboy1983.com/modules.php?name=Photos_Vt">Vanuatu Vatu' . "\n";
echo '        </option>' . "\n";
echo '      </select>' . "\n";
echo '    </span>' . "\n";
echo '    <p>' . "\n";
echo '      <font color="#000080" size="5">Photos (Australia Dollar)' . "\n";
echo '      </font>' . "\n";
echo '      <a href="http://www.shareapic.net/content.php?id=7519987&amp;owner=Rorie"  target="_blank">' . "\n";
echo '        <img src="http://www.shareapic.net/preview3/007519987.jpg"  border="0" alt="" /></a> ' . "\n";
echo '      <a  href="http://www.shareapic.net/content.php?id=7519988&amp;owner=Rorie"  target="_blank">' . "\n";
echo '        <img src="http://www.shareapic.net/preview3/007519988.jpg"  border="0" alt="" /></a> ' . "\n";
echo '      <a  href="http://www.shareapic.net/content.php?id=7519989&amp;owner=Rorie"  target="_blank">' . "\n";
echo '        <img src="http://www.shareapic.net/preview3/007519989.jpg"  border="0" alt="" /></a> ' . "\n";
echo '      <a  href="http://www.shareapic.net/content.php?id=7519990&amp;owner=Rorie"  target="_blank">' . "\n";
echo '        <img src="http://www.shareapic.net/preview3/007519990.jpg"  border="0" alt="" /></a> ' . "\n";
echo '      <a  href="http://www.shareapic.net/content.php?id=7519991&amp;owner=Rorie"  target="_blank">' . "\n";
echo '        <img src="http://www.shareapic.net/preview3/007519991.jpg"  border="0" alt="" /></a> ' . "\n";
echo '      <a  href="http://www.shareapic.net/content.php?id=7519992&amp;owner=Rorie"  target="_blank">' . "\n";
echo '        <img src="http://www.shareapic.net/preview3/007519992.jpg"  border="0" alt="" /></a> ' . "\n";
echo '      <a  href="http://www.shareapic.net/content.php?id=7520010&amp;owner=Rorie"  target="_blank">' . "\n";
echo '        <img src="http://www.shareapic.net/preview3/007520010.jpg"  border="0" alt="" /></a> ' . "\n";
echo '      <a  href="http://www.shareapic.net/content.php?id=7520011&amp;owner=Rorie"  target="_blank">' . "\n";
echo '        <img src="http://www.shareapic.net/preview3/007520011.jpg"  border="0" alt="" /></a> ' . "\n";
echo '      <a  href="http://www.shareapic.net/content.php?id=7520012&amp;owner=Rorie"  target="_blank">' . "\n";
echo '        <img src="http://www.shareapic.net/preview3/007520012.gif"  border="0" alt="" /></a> ' . "\n";
echo '      <a  href="http://www.shareapic.net/content.php?id=7520013&amp;owner=Rorie"  target="_blank">' . "\n";
echo '        <img src="http://www.shareapic.net/preview3/007520013.jpg"  border="0" alt="" /></a> ' . "\n";
echo '      <a  href="http://www.shareapic.net/content.php?id=7520014&amp;owner=Rorie"  target="_blank">' . "\n";
echo '        <img src="http://www.shareapic.net/preview3/007520014.jpg"  border="0" alt="" /></a> ' . "\n";
echo '      <a  href="http://www.shareapic.net/content.php?id=7520015&owner=Rorie"  target="_blank">' . "\n";
echo '        <img src="http://www.shareapic.net/preview3/007520015.jpg" border="0" alt="" /></a>' . "\n";
echo '    </p>' . "\n";
echo "\n";


and your done.... I have supplied the code you gave me all cleaned up and compliant, now just run it through the converter

Only registered users can see links on this board! Get registered or login!
 
rorie
PostPosted: Fri Oct 17, 2008 2:20 am Reply with quote

testy1 wrote:
ok here uis an example for you.

I took the australian code and just cleaned it up and layed it out a little better (see below)

Code:


<script type="text/javascript" language="JavaScript">
/* <![CDATA[ */
function MM_jumpMenu(targ,selObj,restore){ //v3.0
eval(targ+".location='"+selObj.options[selObj.selectedIndex].value+"'");
if (restore) selObj.selectedIndex=0;
}
/* ]]> */
</script>
    <span class="style4">
      <select name="menu1" id="menu1" onchange="MM_jumpMenu('parent',this,0)">
        <option value="http://www.rorboy1983.com/modules.php?name=Photos_A$" selected="selected">Australia Dollar
        </option>
        <option value="http://www.rorboy1983.com/modules.php?name=Photos_C$">Canada Dollar
        </option>
        <option value="http://www.rorboy1983.com/modules.php?name=Photos_XPF">Central Pacific Franc
        </option>
        <option value="http://www.rorboy1983.com/modules.php?name=Photos_Euros">Euros
        </option>
        <option value="http://www.rorboy1983.com/modules.php?name=Photos_F$">Fiji Dollar
        </option>
        <option value="http://www.rorboy1983.com/modules.php?name=Photos_South_Pacific_2006">South Pacific 2006
        </option>
        <option value="http://www.rorboy1983.com/modules.php?name=Photos_Sydney2005">Sydney 2005
        </option>
        <option value="http://www.rorboy1983.com/modules.php?name=Photos_Tasmania2003">Tasmania By Sea 2003
        </option>
        <option value="http://www.rorboy1983.com/modules.php?name=Photos_NZ$">New Zealand Dollar
        </option>
        <option value="http://www.rorboy1983.com/modules.php?name=Photos_NZ2008">New Zealand 2008
        </option>
        <option value="http://www.rorboy1983.com/modules.php?name=Photos_US$">United States Dollar
        </option>
        <option value="http://www.rorboy1983.com/modules.php?name=Photos_Vt">Vanuatu Vatu
        </option>
      </select>
    </span>
    <p>
      <font color="#000080" size="5">Photos (Australia Dollar)
      </font>
      <a href="http://www.shareapic.net/content.php?id=7519987&amp;owner=Rorie"  target="_blank">
        <img src="http://www.shareapic.net/preview3/007519987.jpg"  border="0" alt="" /></a>
      <a  href="http://www.shareapic.net/content.php?id=7519988&amp;owner=Rorie"  target="_blank">
        <img src="http://www.shareapic.net/preview3/007519988.jpg"  border="0" alt="" /></a>
      <a  href="http://www.shareapic.net/content.php?id=7519989&amp;owner=Rorie"  target="_blank">
        <img src="http://www.shareapic.net/preview3/007519989.jpg"  border="0" alt="" /></a>
      <a  href="http://www.shareapic.net/content.php?id=7519990&amp;owner=Rorie"  target="_blank">
        <img src="http://www.shareapic.net/preview3/007519990.jpg"  border="0" alt="" /></a>
      <a  href="http://www.shareapic.net/content.php?id=7519991&amp;owner=Rorie"  target="_blank">
        <img src="http://www.shareapic.net/preview3/007519991.jpg"  border="0" alt="" /></a>
      <a  href="http://www.shareapic.net/content.php?id=7519992&amp;owner=Rorie"  target="_blank">
        <img src="http://www.shareapic.net/preview3/007519992.jpg"  border="0" alt="" /></a>
      <a  href="http://www.shareapic.net/content.php?id=7520010&amp;owner=Rorie"  target="_blank">
        <img src="http://www.shareapic.net/preview3/007520010.jpg"  border="0" alt="" /></a>
      <a  href="http://www.shareapic.net/content.php?id=7520011&amp;owner=Rorie"  target="_blank">
        <img src="http://www.shareapic.net/preview3/007520011.jpg"  border="0" alt="" /></a>
      <a  href="http://www.shareapic.net/content.php?id=7520012&amp;owner=Rorie"  target="_blank">
        <img src="http://www.shareapic.net/preview3/007520012.gif"  border="0" alt="" /></a>
      <a  href="http://www.shareapic.net/content.php?id=7520013&amp;owner=Rorie"  target="_blank">
        <img src="http://www.shareapic.net/preview3/007520013.jpg"  border="0" alt="" /></a>
      <a  href="http://www.shareapic.net/content.php?id=7520014&amp;owner=Rorie"  target="_blank">
        <img src="http://www.shareapic.net/preview3/007520014.jpg"  border="0" alt="" /></a>
      <a  href="http://www.shareapic.net/content.php?id=7520015&owner=Rorie"  target="_blank">
        <img src="http://www.shareapic.net/preview3/007520015.jpg" border="0" alt="" /></a>
    </p>


I then just ran it through the converter I supplied above and this is what it output.

Code:


echo '<script type="text/javascript" language="JavaScript">' . "\n";
echo '/* <![CDATA[ */' . "\n";
echo 'function MM_jumpMenu(targ,selObj,restore){ //v3.0' . "\n";
echo 'eval(targ+".location=\'"+selObj.options[selObj.selectedIndex].value+"\'");' . "\n";
echo 'if (restore) selObj.selectedIndex=0;' . "\n";
echo '}' . "\n";
echo '/* ]]> */' . "\n";
echo '</script>' . "\n";
echo '    <span class="style4">' . "\n";
echo '      <select name="menu1" id="menu1" onchange="MM_jumpMenu(\'parent\',this,0)">' . "\n";
echo '        <option value="http://www.rorboy1983.com/modules.php?name=Photos_A$" selected="selected">Australia Dollar' . "\n";
echo '        </option>' . "\n";
echo '        <option value="http://www.rorboy1983.com/modules.php?name=Photos_C$">Canada Dollar' . "\n";
echo '        </option>' . "\n";
echo '        <option value="http://www.rorboy1983.com/modules.php?name=Photos_XPF">Central Pacific Franc' . "\n";
echo '        </option>' . "\n";
echo '        <option value="http://www.rorboy1983.com/modules.php?name=Photos_Euros">Euros' . "\n";
echo '        </option>' . "\n";
echo '        <option value="http://www.rorboy1983.com/modules.php?name=Photos_F$">Fiji Dollar' . "\n";
echo '        </option>' . "\n";
echo '        <option value="http://www.rorboy1983.com/modules.php?name=Photos_South_Pacific_2006">South Pacific 2006' . "\n";
echo '        </option>' . "\n";
echo '        <option value="http://www.rorboy1983.com/modules.php?name=Photos_Sydney2005">Sydney 2005' . "\n";
echo '        </option>' . "\n";
echo '        <option value="http://www.rorboy1983.com/modules.php?name=Photos_Tasmania2003">Tasmania By Sea 2003' . "\n";
echo '        </option>' . "\n";
echo '        <option value="http://www.rorboy1983.com/modules.php?name=Photos_NZ$">New Zealand Dollar' . "\n";
echo '        </option>' . "\n";
echo '        <option value="http://www.rorboy1983.com/modules.php?name=Photos_NZ2008">New Zealand 2008' . "\n";
echo '        </option>' . "\n";
echo '        <option value="http://www.rorboy1983.com/modules.php?name=Photos_US$">United States Dollar' . "\n";
echo '        </option>' . "\n";
echo '        <option value="http://www.rorboy1983.com/modules.php?name=Photos_Vt">Vanuatu Vatu' . "\n";
echo '        </option>' . "\n";
echo '      </select>' . "\n";
echo '    </span>' . "\n";
echo '    <p>' . "\n";
echo '      <font color="#000080" size="5">Photos (Australia Dollar)' . "\n";
echo '      </font>' . "\n";
echo '      <a href="http://www.shareapic.net/content.php?id=7519987&amp;owner=Rorie"  target="_blank">' . "\n";
echo '        <img src="http://www.shareapic.net/preview3/007519987.jpg"  border="0" alt="" /></a> ' . "\n";
echo '      <a  href="http://www.shareapic.net/content.php?id=7519988&amp;owner=Rorie"  target="_blank">' . "\n";
echo '        <img src="http://www.shareapic.net/preview3/007519988.jpg"  border="0" alt="" /></a> ' . "\n";
echo '      <a  href="http://www.shareapic.net/content.php?id=7519989&amp;owner=Rorie"  target="_blank">' . "\n";
echo '        <img src="http://www.shareapic.net/preview3/007519989.jpg"  border="0" alt="" /></a> ' . "\n";
echo '      <a  href="http://www.shareapic.net/content.php?id=7519990&amp;owner=Rorie"  target="_blank">' . "\n";
echo '        <img src="http://www.shareapic.net/preview3/007519990.jpg"  border="0" alt="" /></a> ' . "\n";
echo '      <a  href="http://www.shareapic.net/content.php?id=7519991&amp;owner=Rorie"  target="_blank">' . "\n";
echo '        <img src="http://www.shareapic.net/preview3/007519991.jpg"  border="0" alt="" /></a> ' . "\n";
echo '      <a  href="http://www.shareapic.net/content.php?id=7519992&amp;owner=Rorie"  target="_blank">' . "\n";
echo '        <img src="http://www.shareapic.net/preview3/007519992.jpg"  border="0" alt="" /></a> ' . "\n";
echo '      <a  href="http://www.shareapic.net/content.php?id=7520010&amp;owner=Rorie"  target="_blank">' . "\n";
echo '        <img src="http://www.shareapic.net/preview3/007520010.jpg"  border="0" alt="" /></a> ' . "\n";
echo '      <a  href="http://www.shareapic.net/content.php?id=7520011&amp;owner=Rorie"  target="_blank">' . "\n";
echo '        <img src="http://www.shareapic.net/preview3/007520011.jpg"  border="0" alt="" /></a> ' . "\n";
echo '      <a  href="http://www.shareapic.net/content.php?id=7520012&amp;owner=Rorie"  target="_blank">' . "\n";
echo '        <img src="http://www.shareapic.net/preview3/007520012.gif"  border="0" alt="" /></a> ' . "\n";
echo '      <a  href="http://www.shareapic.net/content.php?id=7520013&amp;owner=Rorie"  target="_blank">' . "\n";
echo '        <img src="http://www.shareapic.net/preview3/007520013.jpg"  border="0" alt="" /></a> ' . "\n";
echo '      <a  href="http://www.shareapic.net/content.php?id=7520014&amp;owner=Rorie"  target="_blank">' . "\n";
echo '        <img src="http://www.shareapic.net/preview3/007520014.jpg"  border="0" alt="" /></a> ' . "\n";
echo '      <a  href="http://www.shareapic.net/content.php?id=7520015&owner=Rorie"  target="_blank">' . "\n";
echo '        <img src="http://www.shareapic.net/preview3/007520015.jpg" border="0" alt="" /></a>' . "\n";
echo '    </p>' . "\n";
echo "\n";


and your done.... I have supplied the code you gave me all cleaned up and compliant, now just run it through the converter

Only registered users can see links on this board! Get registered or login!


could i please have the correct code saved as a module?. i try to add even more code & it mucks up on me
 
Display posts from previous:       
Post new topic   Reply to topic    Ravens PHP Scripts And Web Hosting Forum Index -> RN v2.20.00 - All Issues

View next topic
View previous topic
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You can attach files in this forum
You can download files in this forum


Powered by phpBB © 2001-2007 phpBB Group
All times are GMT - 6 Hours
 
Forums ©