eror log hataları
|
#6272 |
|
|
kors@n
User is:
Posts: 512
Meslek:
Age: 48
|
bu b?l?m?n kodlar?n? 160 a bakarak preg_replace yapt???m zaman bu hatay? veriyor
Warning: preg_replace() [function.preg-replace]: Delimiter must not be alphanumeric or backslash in /home/osmanli2/public_html/system/functions.php on line 334 Kod: foreach($bbcodes as $bbcode => $bbcodehtml) { $text = eregi_replace($bbcode,$bbcodehtml,$text); } if ($cfg['parser_vid']) { $bbcodes = array( '\\[ytube\\]([^\\([]*)\\[/ytube\\]' => '<object width="640" height="385"><param name="movie" value="http://www.youtube.com/v/\\1?fs=1&hl=en_US"></param><param name="allowFullScreen" value="true"></param><param name="allowscriptaccess" value="always"></param><embed src="http://www.youtube.com/v/\\1?fs=1&hl=en_US" type="application/x-shockwave-flash" allowscriptaccess="always" allowfullscreen="true" width="640" height="385"></embed></object>', '\\[vodo\\]([^\\([]*)\\[/vodo\\]' => '<object width="464" height="355"><param name="movie" value="http://www.vidivodo.com/VideoPlayerShare.swf?lang=tr&vidID=\\1"></param><param name="wmode" value="transparent"></param><embed src="http://www.vidivodo.com/VideoPlayerShare.swf?lang=tr&vidID=\\1" type="application/x-shockwave-flash" wmode="transparent" width="464" height="355"></embed></object>', '\\[akillitv\\]([^\\([]*)\\[/akillitv\\]' => '<object width="425" height="343"><param name="movie" value="http://services.akilli.tv/player3.swf?TYPE=2&URLX=http://services.akilli.tv/xmlProviderv4 /query.aspx?ACTION=video&VDX=\\1"></param><param name="wmode" value="transparent"></param><embed src="http://services.akilli.tv/player3.swf?TYPE=2&URLX=http://services.akilli.tv/xmlProviderv4/q uery.aspx?ACTION=video&VDX=\\1" type="application/x-shockwave-flash" wmode="transparent" width="425" height="343"></embed></object>', '\\[mynet\\]([^\\([]*)\\[/mynet\\]' => '<object width="500" height="334"><param name="allowfullscreen" value="true" /><param name="allowscriptaccess" value="always" /><param name="movie" value="\\1.swf" /><embed src="\\1.swf" type="application/x-shockwave-flash" wmode="transparent" allowscriptaccess="always" allowfullscreen="true" width="500" height="334"></embed></object>', '\\[yahoo\\]([^\\([]*)\\[/yahoo\\]' => ' <object width="512" height="323"><param name="movie" value="http://d.yimg.com/static.video.yahoo.com/yep/YV_YEP.swf?ver=2.2.4" /><param name="allowFullScreen" value="true" /><param name="flashVars" value="id=\\1"/> <embed src="http://d.yimg.com/static.video.yahoo.com/yep/YV_YEP.swf?ver=2.2.4" type="application/x-shockwave-flash" width="512" height="323" allowFullScreen="true" flashVars="id=\\1"></embed></object>', '\\[gvideo\\]([^\\([]*)\\[/gvideo\\]' => '<object width="480" height="329"><param name="movie" value="http://video.google.com/googleplayer.swf?docId=\\1"></param><param name="wmode" value="transparent"></param><embed src="http://video.google.com/googleplayer.swf?docId=\\1" type="application/x-shockwave-flash" wmode="transparent" width="480" height="329"></embed></object>', '\\[dailymotion\\]([^\\([]*)\\[/dailymotion\\]' => '<object width="480" height="384"><param name="movie" value="http://www.dailymotion.com/swf/video/\\1?additionalInfos=0"></param><param name="allowFullScreen" value="true"></param><param name="allowScriptAccess" value="always"></param><embed type="application/x-shockwave-flash" src="http://www.dailymotion.com/swf/video/\\1?additionalInfos=0" width="480" height="384" allowfullscreen="true" allowscriptaccess="always"></embed></object>', '\\[metacafe=([^\\[]*)\\]' => '<embed style="width:425px; height:345px;" src="http://www.metacafe.com/fplayer/\\1" width="400" height="345" wmode="transparent" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer"></embed>'); foreach($bbcodes as $bbcode => $bbcodehtml) { $text = eregi_replace($bbcode,$bbcodehtml,$text); } } $bbcodes = array( '\\[colleft\\]([^\\[]*)\\[/colleft\\]' => '<div class="colleft">\\1</div>', '\\[colright\\]([^\\[]*)\\[/colright\\]' => '<div class="colright">\\1</div>', '\\[center\\]([^\\[]*)\\[/center\\]' => '<div style="text-align:center;">\\1</div>', '\\[right\\]([^\\[]*)\\[/right\\]' => '<div style="text-align:right;">\\1</div>', '\\[left\\]([^\\[]*)\\[/left\\]' => '<div style="text-align:left;">\\1</div>', '\\[c1\\:([^\\[]*)\\]([^\\[]*)\\[c2\\:([^\\[]*)\\]([^\\[]*)\\[c3\\]' => '<table style="margin:0; vertical-align:top; width:100%;"><tr><td style="padding:8px; vertical-align:top; width:\\1%;">\\2</td><td style="padding:8px; vertical-align:top; width:\\3%;">\\4</td></tr></table>' ); foreach($bbcodes as $bbcode => $bbcodehtml) { $text = eregi_replace($bbcode,$bbcodehtml,$text); } |













