[ Index ] |
|
Code source de e107 0.7.8 |
1 <?php 2 /* 3 + ----------------------------------------------------------------------------+ 4 | e107 website system 5 | 6 | ©Steve Dunstan 2001-2002 7 | http://e107.org 8 | jalist@e107.org 9 | 10 | Released under the terms and conditions of the 11 | GNU General Public License (http://gnu.org). 12 | 13 | $Source: /cvsroot/e107/e107_0.7/e107_admin/credits.php,v $ 14 | $Revision: 1.16 $ 15 | $Date: 2006/10/29 01:00:20 $ 16 | $Author: e107coders $ 17 +----------------------------------------------------------------------------+ 18 */ 19 20 require_once ("../class2.php"); 21 $e_sub_cat = 'credits'; 22 include(e_ADMIN.'ver.php'); 23 24 25 $creditsArray = array( 26 array( "name" => "MagpieRSS", 27 "url" => "http://magpierss.sourceforge.net/", 28 "description" => CRELAN_10, 29 "version" => "0.71.1", 30 "licence" => "GPL, ".CRELAN_8 31 ), 32 array( "name" => "PCLZip", 33 "url" => "http://www.phpconcept.net/pclzip/", 34 "description" => CRELAN_11, 35 "version" => "2.3", 36 "licence" => "GPL" 37 ), 38 array( "name" => "PCLTar", 39 "url" => "http://www.phpconcept.net/pcltar/", 40 "description" => CRELAN_12, 41 "version" => "1.3", 42 "licence" => "GPL" 43 ), 44 array( "name" => "TinyMCE", 45 "url" => "http://tinymce.moxiecode.com/", 46 "description" => CRELAN_13, 47 "version" => "2.08", 48 "licence" => "GPL" 49 ), 50 array( "name" => "Nuvolo Icons", 51 "url" => "http://www.icon-king.com", 52 "description" => CRELAN_14, 53 "version" => "1.0", 54 "licence" => "GPL" 55 ), 56 array( "name" => "PHPMailer", 57 "url" => "http://phpmailer.sourceforge.net/", 58 "description" => CRELAN_15, 59 "version" => "1.72", 60 "licence" => "GPL" 61 ), 62 array( "name" => "Brainjar DHTML Menu", 63 "url" => "http://www.brainjar.com/dhtml/menubar/", 64 "description" => CRELAN_16, 65 "version" => "0.1", 66 "licence" => "GPL, ".CRELAN_8 67 ), 68 array( "name" => "DHTML / JavaScript Calendar", 69 "url" => "http://www.dynarch.com/projects/", 70 "description" => CRELAN_17, 71 "version" => "1.0", 72 "licence" => "GPL" 73 ), 74 array( "name" => "FPDF", 75 "url" => "http://www.fpdf.org/", 76 "description" => CRELAN_18, 77 "version" => "1.53", 78 "licence" => "Freeware" 79 ), 80 array( "name" => "UFPDF", 81 "url" => "http://www.acko.net/node/56", 82 "description" => CRELAN_19, 83 "version" => "0.1", 84 "licence" => "GPL" 85 ), 86 ); 87 88 $contentA = array( 89 "<h3>".CRELAN_6."<\/h3>", 90 "<h1>Carl Cedergren<\/h1>[ asperon ]<br /><br /><br />".CRELAN_20, 91 "<h1>Cameron Hanly<\/h1>[ CaMer0n ]<br /><br /><br />".CRELAN_21, 92 "<h1>Steve Dunstan<\/h1>[ jalist ]<br /><br /><br />".CRELAN_22, 93 "<h1>Eric Vanderfeesten<\/h1> [ lisa ]<br /><br /><br />".CRELAN_23, 94 "<h1>Thom Michelbrink<\/h1>[ McFly ]<br /><br /><br />".CRELAN_24, 95 "<h1>William Moffett<\/h1>[ que ]<br /><br /><br />".CRELAN_25, 96 "<h1>Martin Nicholls<\/h1>[ streaky ]<br /><br /><br />".CRELAN_26, 97 "<h1>James Currie<\/h1>[ SweetAs ]<br /><br /><br />".CRELAN_27, 98 "<h1>Pete Holzmann<\/h1>[ MrPete ]<br /><br /><br />".CRELAN_28 99 ); 100 101 echo "<?xml version='1.0' encoding='".CHARSET."' ?><!DOCTYPE html PUBLIC \"-//W3C//DTD XHTML 1.1//EN\" \"http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd\"> 102 <html xmlns='http://www.w3.org/1999/xhtml'> 103 <head> 104 <title>".PAGE_NAME."</title> 105 <meta http-equiv='content-type' content='text/html; charset=".CHARSET."' /> 106 <meta http-equiv='content-style-type' content='text/css' /> 107 <link rel='stylesheet' href='".e_THEME."lamb/style.css' type='text/css' /> 108 </head> 109 <body style='padding: 0; margin: 0; background-color: #e8e8e8; color: #8E8E8E'> 110 111 <div><img src='".e_IMAGE."generic/cred.png' alt='' /> 112 <div class='smalltext' style='position: absolute; top: 120px; left: 118px;'><b>".CRELAN_7." ".$e107info['e107_version'].", build ".($e107info['e107_build'] ? $e107info['e107_build'] : "zero")."</b><br />© 2002-2006, ".CRELAN_3."</div> 113 114 "; 115 116 117 $fadejs = " 118 <script type='text/javascript'> 119 <!-- 120 121 var delay = 2000; 122 var maxsteps=30; 123 var stepdelay=40; 124 var startcolor= new Array(255,255,255); 125 var endcolor=new Array(0,0,0); 126 var fcontent=new Array(); 127 "; 128 129 if(e_QUERY && e_QUERY == "stps") 130 { 131 $count=1; 132 $fadejs .= "fcontent[0] = '<br /><br />".CRELAN_2."';"; 133 foreach($creditsArray as $credits) 134 { 135 extract($credits); 136 $fadejs .= "fcontent[$count] = '<br /><br /><h1>$name<\/h1>".CRELAN_7." $version<br /><br />$description<br /><br />[ <a href=\"$url\" rel=\"external\">$url<\/a> ]<br /><br />".CRELAN_9." - $licence'; 137 "; 138 $count++; 139 } 140 } 141 else 142 { 143 $count=0; 144 foreach($contentA as $content) 145 { 146 $fadejs .= "fcontent[$count] = '<br /><br />$content'; 147 "; 148 $count++; 149 } 150 } 151 152 $fadejs .= <<<TEXT 153 begintag=''; 154 closetag=''; 155 156 157 var fadelinks=1; 158 159 var fwidth='95%'; 160 var fheight='220px;' 161 162 ///No need to edit below this line///////////////// 163 164 var ie4=document.all&&!document.getElementById; 165 var DOM2=document.getElementById; 166 var faderdelay=0; 167 var index=0; 168 169 /*Rafael Raposo edited function*/ 170 //function to change content 171 function changecontent(){ 172 if (index>=fcontent.length) 173 index=0 174 if (DOM2){ 175 document.getElementById("fscroller").style.color="rgb("+startcolor[0]+", "+startcolor[1]+", "+startcolor[2]+")" 176 document.getElementById("fscroller").innerHTML=begintag+fcontent[index]+closetag 177 if (fadelinks) 178 linkcolorchange(1); 179 colorfade(1, 15); 180 } 181 else if (ie4) 182 document.all.fscroller.innerHTML=begintag+fcontent[index]+closetag; 183 index++ 184 } 185 186 // colorfade() partially by Marcio Galli for Netscape Communications. //////////// 187 // Modified by Dynamicdrive.com 188 189 function linkcolorchange(step){ 190 var obj=document.getElementById("fscroller").getElementsByTagName("A"); 191 if (obj.length>0){ 192 for (i=0;i<obj.length;i++) 193 obj[i].style.color=getstepcolor(step); 194 } 195 } 196 197 /*Rafael Raposo edited function*/ 198 var fadecounter; 199 function colorfade(step) { 200 if(step<=maxsteps) { 201 document.getElementById("fscroller").style.color=getstepcolor(step); 202 if (fadelinks) 203 linkcolorchange(step); 204 step++; 205 fadecounter=setTimeout("colorfade("+step+")",stepdelay); 206 }else{ 207 clearTimeout(fadecounter); 208 document.getElementById("fscroller").style.color="rgb("+endcolor[0]+", "+endcolor[1]+", "+endcolor[2]+")"; 209 setTimeout("changecontent()", delay); 210 211 } 212 } 213 214 /*Rafael Raposo's new function*/ 215 function getstepcolor(step) { 216 var diff 217 var newcolor=new Array(3); 218 for(var i=0;i<3;i++) { 219 diff = (startcolor[i]-endcolor[i]); 220 if(diff > 0) { 221 newcolor[i] = startcolor[i]-(Math.round((diff/maxsteps))*step); 222 } else { 223 newcolor[i] = startcolor[i]+(Math.round((Math.abs(diff)/maxsteps))*step); 224 } 225 } 226 return ("rgb(" + newcolor[0] + ", " + newcolor[1] + ", " + newcolor[2] + ")"); 227 } 228 229 if (ie4||DOM2) 230 document.write('<div id="fscroller" style="text-align: center; width:'+fwidth+';height:'+fheight+'"><\/div>'); 231 232 if (window.addEventListener) 233 window.addEventListener("load", changecontent, false) 234 else if (window.attachEvent) 235 window.attachEvent("onload", changecontent) 236 else if (document.getElementById) 237 window.onload=changecontent; 238 //--> 239 </script> 240 241 TEXT; 242 243 echo $fadejs; 244 245 echo " 246 <div style='text-align: center; margin-left: auto; margin-right: auto;'> 247 <form method='get' action=''><div>". 248 (e_QUERY && e_QUERY == "stps" ? "<input class='tbox' type='button' onclick=\"self.parent.location='".e_ADMIN."credits.php'\" value='".CRELAN_4."' />" : "<input class='tbox' type='button' onclick=\"self.parent.location='".e_ADMIN."credits.php?stps'\" value='".CRELAN_5."' />")."</div> 249 </form> 250 </div> 251 252 </div> 253 </body> 254 </html> 255 "; 256 257 ?>
titre
Description
Corps
titre
Description
Corps
titre
Description
Corps
titre
Corps
Généré le : Sun Apr 1 01:23:32 2007 | par Balluche grâce à PHPXref 0.7 |