Google [Bot]
Wed. Sep. 08 2010, 00:08
Yahoo [Bot]
Wed. Sep. 08 2010, 00:08
MSN [Bot]
Tue. Sep. 07 2010, 23:36
Google Adsense [Bot]
Tue. Sep. 07 2010, 22:42
Baidu [Spider]
Tue. Sep. 07 2010, 17:10
Exabot [Bot]
Tue. Sep. 07 2010, 10:30
Ask Jeeves [Bot]
Mon. Sep. 06 2010, 21:38
Gigabot [Bot]
Mon. Sep. 06 2010, 15:01
Alexa [Bot]
Sun. Sep. 05 2010, 22:07
psbot [Picsearch]
Thu. Sep. 02 2010, 18:24
|
| Page 1 of 1 [ 5 posts ] |
|
| Go to page |
| Author |
Message |
HelterSkelter
Offline
Joined: Sat Mar 11, 2006 4:46 pm Posts: 3770 Location: Seattle Wa Cash:1332

|
 test
_________________
Please do not PM for support
|
| Tue May 19, 2009 12:17 pm |
|
|
evolver
Offline
Joined: Mon Mar 27, 2006 1:46 pm Posts: 420 Location: Oostende

|
 Re: test
HelterSkelter wrote: test -
-
- function add_ending_slash($path){
-
- $slash_type = (strpos($path, '\')===0) ? 'win' : 'unix';
-
- $last_char = substr($path, strlen($path)-1, 1);
-
- if ($last_char != '/' and $last_char != '\') {
- // no slash:
- $path .= ($slash_type == 'win') ? '\' : '/';
- }
-
- return $path;
- }
-
-
 Very, very nice: - numbering ON/OFF - select ALL  Unfortunatly no syntax-highlighting I've been using the chilli syntax-highlighter for some of my work... It's not perfect, but I managed to make it work perfectly there.
_________________ Always remember you're unique, just like everyone else.
We are born naked, wet and hungry. Then things get worse.
Don't take life too seriously, you won't get out alive.
|
| Fri May 22, 2009 6:28 am |
|
|
|
HelterSkelter
Offline
Joined: Sat Mar 11, 2006 4:46 pm Posts: 3770 Location: Seattle Wa Cash:1332

|
 Re: test
there is a syntax highlighter but it defaults to code=text. you have to edit it with your code name. I think it is supposed to recognize it and do this automatically, but I have not gotten too deep into the Geshi mod to see if this is correct. -
-
- function add_ending_slash($path){
-
- $slash_type = (strpos($path, '')===0) ? 'win' : 'unix';
-
- $last_char = substr($path, strlen($path)-1, 1);
-
- if ($last_char != '/' and $last_char != '\') {
- // no slash:
- $path .= ($slash_type == 'win') ? '\' : '/';
- }
-
- return $path;
- }
-
-
-
-
-
-
- <?xml version="1.0" encoding="utf-8"?>
- <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
- <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
- <head>
- <title></title>
- <link href="style.css" rel="stylesheet" type="text/css" />
- <script src="rollover.js" type="text/javascript"></script>
- <script type="text/javascript">
- <!--
- function MM_swapImgRestore() { //v3.0
- var i,x,a=document.MM_sr; for(i=0;a&&i<a.length&&(x=a[i])&&x.oSrc;i++) x.src=x.oSrc;
- }
-
- function MM_preloadImages() { //v3.0
- var d=document; if(d.images){ if(!d.MM_p) d.MM_p=new Array();
- var i,j=d.MM_p.length,a=MM_preloadImages.arguments; for(i=0; i<a.length; i++)
- if (a[i].indexOf("#")!=0){ d.MM_p[j]=new Image; d.MM_p[j++].src=a[i];}}
- }
-
- function MM_findObj(n, d) { //v4.01
- var p,i,x; if(!d) d=document; if((p=n.indexOf("?"))>
-
-
- 0&&parent.frames.length) {
- d=parent.frames[n.substring(p+1)].document; n=n.substring(0,p);}
- if(!(x=d[n])&&d.all) x=d.all[n]; for (i=0;!x&&i<d.forms.length;i++) x=d.forms[i][n];
- for(i=0;!x&&d.layers&&i<d.layers.length;i++) x=MM_findObj(n,d.layers[i].document);
- if(!x && d.getElementById) x=d.getElementById(n); return x;
- }
-
- function MM_swapImage() { //v3.0
- var i,j=0,x,a=MM_swapImage.arguments; document.MM_sr=new Array; for(i=0;i<(a.length-2);i+=3)
- if ((x=MM_findObj(a[i]))!=null){document.MM_sr[j++]=x; if(!x.oSrc) x.oSrc=x.src; x.src=a[i+2];}
- }
- //-->
- </script>
- </head>
- <body id="page1" onload="MM_preloadImages('images/m1_1.gif','images/m2_2.gif','images/m3_3.gif','images/m4_4.gif','images/m5_5.gif')">
-
- <table class="main_table">
- <tr>
- <td class="site_center">
- <table class="site_center1">
- <tr>
- <td>
- <table id="header">
- <tr>
- <td class="row1"></td>
- </tr>
- <tr>
- <td>
- <table class="row2">
- <tr>
- <td class="col1">
- <div>
- <a href="index.html"><img alt="" class="title" src="images/logo.gif" /></a><img alt="" src="images/w1.gif" /></div> </td>
- <td class="col2">
- <a href="index-1.html" onmouseout="MM_swapImgRestore()" onmouseover="MM_swapImage('Image4','','images/m1_1.gif',1)"><img src="images/m1.gif" alt="" id="Image4" class="indent" /></a><br />
- <a href="index-2.html" onmouseout="MM_swapImgRestore()" onmouseover="MM_swapImage('Image5','','images/m2_2.gif',1)"><img src="images/m2.gif" alt="" id="Image5" /></a><br />
- <a href="index-3.html" onmouseout="MM_swapImgRestore()" onmouseover="MM_swapImage('Image6','','images/m3_3.gif',1)"><img src="images/m3.gif" alt="" id="Image6" /></a><br />
- <a href="index-4.html" onmouseout="MM_swapImgRestore()" onmouseover="MM_swapImage('Image7','','images/m4_4.gif',1)"><img src="images/m4.gif" alt="" id="Image7" /></a><br />
- <a href="index-5.html" onmouseout="MM_swapImgRestore()" onmouseover="MM_swapImage('Image8','','images/m5_5.gif',1)"><img src="images/m5.gif" alt="" id="Image8" /></a><br />
- </td>
- </tr>
- </table>
- </td>
- </tr>
- </table>
- </td>
- </tr>
- <tr>
- <td>
- <table id="content">
- <tr>
- <td class="row1"></td>
- </tr>
- <tr>
- <td>
- <table class="row2">
- <tr>
- <td class="col1"></td>
- <td>
- <table class="col2">
- <tr>
- <td style="height:314px; width:233px" class="bg_color">
- <div style="margin:34px 15px 20px 39px">
- <img alt="" src="images/1_w1.gif" class="title" /><br />
- <b>_18.05.08</b><br />
- <p style=" margin:4px 0 12px 1px">Lorem ipsum dolor sit amet ut diam consectetuer adipiscing elit. Nullam consequat...</p>
- <a href="#" style="margin:0 0 0 103px"><img alt="" src="images/more.gif" /></a> </div>
- <img alt="" src="images/li.gif" /><br />
- <div style=" margin:10px 15px 10px 39px">
- <b>_18.05.08</b><br />
- <p style=" margin:5px 0 12px 1px">Lorem ipsum dolor sit amet ut diam consectetuer adipiscing elit. Nullam consequat...</p>
- <a href="#" style="margin:0 0 0 103px"><img alt="" src="images/more.gif" /></a> </div>
- </td>
- </tr>
- <tr>
- <td style="height:28px"></td>
- </tr>
- </table>
- </td>
- <td>
- <table class="col3">
- <tr>
- <td class="box1">
- <div>
- <img alt="" src="images/1_w2.gif" /><br />
- <p><strong>Ipsum dolor sit</strong> amet, consectetuer adipiscing elit. Nullam consequat diam arcu. Donec sit amet orci sit <a href="#">amet lorem nonummy</a> congue. In hac habitasse platea dictumst. Proin hendrerit pharetra nisl. Sed vestibulum porta augue suada justo eget aliquam volutpat ed vestibulum porta augue suada justo eget aliquam volutpat.</p>
- <a href="#" style="margin:0 0 0 343px"><img alt="" src="images/more.gif" /></a><br />
- <img alt="" src="images/li_long.gif" class="indent" /> </div>
- </td>
- </tr>
- <tr>
- <td>
- <table class="box2">
- <tr>
- <td style="width:220px">
- <div style="margin:0 30px 10px 28px">
- <img alt="" src="images/1_w3.gif" /><br />
- <ul style="margin:23px 0 17px 0px">
- <li><a href="#">Lorem ipsum dolor sit amet ut</a></li>
- <li><a href="#">Tonsectetuer adipiscing elit sit</a></li>
- </ul>
- <a href="#" style="margin:0 0 0 88px"><img alt="" src="images/more.gif" /></a> </div>
- </td>
- <td style="width:1px" class="bg_li_bot"><img alt="" style="margin-top:79px" src="images/li_bot.gif" /></td>
- <td style="width:295px">
- <div style="margin:0 65px 10px 46px">
- <img alt="" src="images/1_w4.gif" /><br />
- <p style="margin:25px 0 12px 0px; color:#91908d"><strong>Lorem ipsum dolor</strong> sit amet sit consectetuer adipiscing elit. Nullam consequat commodo.</p>
- <a href="#" style="margin:0 0 0 104px"><img alt="" src="images/more.gif" /></a> </div>
- </td>
- </tr>
- </table>
- </td>
- </tr>
- </table>
- </td>
- </tr>
- </table>
- </td>
- </tr>
- </table>
- </td>
- </tr>
- <tr>
- <td>
- <table id="footer">
- <tr>
- <td class="row1"></td>
- </tr>
- <tr>
- <td class="row2">
- <div>
- Fresh Group. © 2008. <a href="index-6.html">Privacy Policy</a><img alt="" src="images/li_foot.gif" class="indent" />Contact phone: +1 800 658 4452 </div>
- </td>
- </tr>
- </table>
- </td>
- </tr>
- </table>
- </td>
- </tr>
- </table>
-
-
- </body>
- </html>
-
You do not have the required permissions to view the files attached to this post.
_________________
Please do not PM for support
|
| Fri May 22, 2009 7:43 am |
|
|
|
evolver
Offline
Joined: Mon Mar 27, 2006 1:46 pm Posts: 420 Location: Oostende

|
 Re: test
Ah, thanks... ...I didn't know However, it doesn't seem to work very well with PHP: -
- <?php
- function add_ending_slash($path){
-
- $slash_type = (strpos($path, '')===0) ? 'win' : 'unix';
-
- $last_char = substr($path, strlen($path)-1, 1);
-
- if ($last_char != '/' and $last_char != '\') {
- // no slash:
- $path .= ($slash_type == 'win') ? '\' : '/';
- }
-
- return $path;
- }
- ?>
-
-
-
-
-
-
-
-
-
-
OK with xml / xhtml And... javascript (between JS tags, then) - function MM_swapImgRestore() { //v3.0
- var i,x,a=document.MM_sr; for(i=0;a&&i<a.length&&(x=a[i])&&x.oSrc;i++) x.src=x.oSrc;
- }
-
- function MM_preloadImages() { //v3.0
- var d=document; if(d.images){ if(!d.MM_p) d.MM_p=new Array();
- var i,j=d.MM_p.length,a=MM_preloadImages.arguments; for(i=0; i<a.length; i++)
- if (a[i].indexOf("#")!=0){ d.MM_p[j]=new Image; d.MM_p[j++].src=a[i];}}
- }
And even works with MySQL (between mysql tags, then)
_________________ Always remember you're unique, just like everyone else.
We are born naked, wet and hungry. Then things get worse.
Don't take life too seriously, you won't get out alive.
|
| Fri May 22, 2009 9:08 am |
|
|
|
aymanghost
Offline
Joined: Sun Apr 29, 2007 1:46 am Posts: 2

|
 Re: test
|
| Sun Feb 07, 2010 2:17 pm |
|
|
|
| Page 1 of 1 [ 5 posts ] |
|
| Go to page |
Who is online |
Users browsing this forum: No registered users and 1 guest |
|
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 post attachments in this forum
|
|