View file template/quickcode.php

File size: 1.7Kb
<?php
// mod by Golem http://veplog.ru

echo 'BB-код<br>';
echo '<a href="#" onClick="javascript:tag(\'[url=]\', \'[/url]\');"><img src="'.BASEDIR.'images/editor/a.gif" alt=""></a>';
echo '<a href="#" onClick="javascript:tag(\'[b]\', \'[/b]\');"><img src="'.BASEDIR.'images/editor/b.gif" alt=""></a>';
echo '<a href="#" onClick="javascript:tag(\'[big]\', \'[/big]\');"><img src="'.BASEDIR.'images/editor/big.gif" alt=""></a>';
echo '<a href="#" onClick="javascript:tag(\'[small]\', \'[/small]\');"><img src="'.BASEDIR.'images/editor/small.gif" alt=""></a>';
echo '<a href="#" onClick="javascript:tag(\'[i]\', \'[/i]\');"><img src="'.BASEDIR.'images/editor/i.gif" alt=""></a>'; 
echo '<a href="#" onClick="javascript:tag(\'[u]\', \'[/u]\');"><img src="'.BASEDIR.'images/editor/u.gif" alt=""></a>'; 
echo '<a href="#" onClick="javascript:tag(\'[q]\', \'[/q]\');"><img src="'.BASEDIR.'images/editor/q.gif" alt=""></a>';
echo '<a href="#" onClick="javascript:tag(\'[del]\', \'[/del]\');"><img src="'.BASEDIR.'images/editor/del.gif" alt=""></a>';
echo '<a href="#" onClick="javascript:tag(\'[code]\', \'[/code]\');"><img src="'.BASEDIR.'images/editor/code.gif" alt=""></a>'; 

echo '<a href="#" onClick="javascript:tag(\'[red]\', \'[/red]\');"><img src="'.BASEDIR.'images/editor/red.gif" alt=""></a>'; 
echo '<a href="#" onClick="javascript:tag(\'[green]\', \'[/green]\');"><img src="'.BASEDIR.'images/editor/green.gif" alt=""></a>'; 
echo '<a href="#" onClick="javascript:tag(\'[blue]\', \'[/blue]\');"><img src="'.BASEDIR.'images/editor/blue.gif" alt=""></a>'; 
echo '<a href="#" onClick="javascript:tag(\'[yellow]\', \'[/yellow]\');"><img src="'.BASEDIR.'images/editor/yellow.gif" alt=""></a>';  


echo '<br>';
?>