Parašė ozonas· 2007 Spa. 5 14:10:53
#1
Tai va bandziau ideti bookrmark mygtuka i panele , bet kazko neina errorus metu pvz : Parse error: parse error, unexpected T_STRING, expecting ',' or ';' in /home/www/xxx.xxx.com/administration/panel_editor.php(111) : eval()'d code on line 2.
Mygtuko kodas atrodo tajp:
<!-- AddThis Bookmark Button BEGIN -->
<a href="http://www.addthis.com/bookmark.php" onclick="addthis_url = location.href; addthis_title = document.title; return addthis_click(this);" target="_blank"><img src="http://s9.addthis.com/button1-bm.gif" width="125" height="16" border="0" alt="AddThis Social Bookmark Button" /></a> <script type="text/javascript">var addthis_pub = 'ozonas';</script><script type="text/javascript" src="http://s9.addthis.com/js/widget.php?v=10"></script>
<!-- AddThis Bookmark Button END -->
------------------------------
Gal kas galetu parasyti kaip visa taj turetu atrodyti su paneles kodu? isanksto dekoju.
Parašė Rytis· 2007 Spa. 5 14:10:39
#2
Panelėje naudok šį kodą:
openside("name");
?>
<!-- AddThis Bookmark Button BEGIN -->
<a href="http://www.addthis.com/bookmark.php" onclick="addthis_url = location.href; addthis_title = document.title; return addthis_click(this);" target="_blank"><img src="http://s9.addthis.com/button1-bm.gif" width="125" height="16" border="0" alt="AddThis Social Bookmark Button" /></a> <script type="text/javascript">var addthis_pub = 'ozonas';</script><script type="text/javascript" src="http://s9.addthis.com/js/widget.php?v=10"></script>
<!-- AddThis Bookmark Button END -->
<?php
closeside();
Redagavo Rytis· 2007 Spa. 5 14:10:49
Parašė ozonas· 2007 Spa. 5 15:10:36
#3
O pvz kai noresiu i panele banner koda ideti reix istrint echo eilute visad ir det >? <?php - skripto tuos trumpinius?
Parašė MAnjack· 2007 Spa. 5 15:10:29
#4
galima dėl ir su echo "", bet tu geriaudaryk taip kadangi taip lengviau.