Esempio n. 1
0
<?php

$title = sf('%s %s', bu::lang('framework/name'), ' смотрит на тебя =_+!');
$layout->title = $title;
$layout->content = bu::view('index_content');
Esempio n. 2
0
<?php

require 'base.php';
$content = bu::view('preview', array('name' => $_GET['img']));
echo bu::view('index', array('title' => bu::lang('linksTitle'), 'content' => $content));
Esempio n. 3
0
?>
'><br>

<?php 
$bbCodeLink = htmlspecialchars('[url=http://' . HTTP_HOST . '/img' . $name . '][img]http://' . HTTP_HOST . '/small' . $name . '[/img][/url]');
$htmlCodeLink = htmlspecialchars('<a href="http://' . HTTP_HOST . '/img' . $name . '"><img src="http://' . HTTP_HOST . '/small' . $name . '"></a>');
echo bu::lang('BBCodeLegend');
?>
<br>
<input type'text' 
       class='link_text_field' 
       onclick='javascript:highlight(this)' 
       value='<?php 
echo $bbCodeLink;
?>
'><br>
<?php 
echo bu::lang('htmlLinkLegend');
?>
<br>
<input type'text' 
       class='link_text_field' 
       onclick='javascript:highlight(this)' 
       value='<?php 
echo $htmlCodeLink;
?>
'><br>
</td>
<tr>
</table>
Esempio n. 4
0
<form  action="/upload.php" method="post" enctype="multipart/form-data">
    <?php 
echo bu::lang('formSelectLabel');
?>
 <input type="file" name='img'>
    <br>
    <input type='submit' id='uploadButton' value='<?php 
echo bu::lang('formSubmitButton');
?>
'>
</form>