Проект

Общее

Профиль

RedmineНighlightTest CodeRay 0.9

HTML

<pre><code class="html">
<embed src="/upload/banners/{$page_razdel}/{$key}.swf" width="498" height="70" 
  type="application/x-shockwave-flash" 
  pluginspage="http://www.macromedia.com/go/getflashplayer"></embed>
</code></pre>
<embed src="/upload/banners/{$page_razdel}/{$key}.swf" width="498" height="70" 
  type="application/x-shockwave-flash" 
  pluginspage="http://www.macromedia.com/go/getflashplayer"></embed>

XML

&lt;pre&gt;&lt;code class="xml"&gt;
    &lt;web&gt;
        &lt;host value="http://${admin_host::domain}/business/admin/" /&gt;
        &lt;static_host value="${admin_host::web::host}static/" /&gt;
        &lt;img_dir value="${admin_host::web::static_host}images/" /&gt;
        &lt;css_dir value="${admin_host::web::static_host}css/" /&gt;
        &lt;js_dir value="${admin_host::web::static_host}js/" /&gt;
        &lt;upload_dir value="${admin_host::web::host}upload/" /&gt;
    &lt;/web&gt;
&lt;/code&gt;&lt;/pre&gt;
    <web>
        <host value="http://${admin_host::domain}/business/admin/" />
        <static_host value="${admin_host::web::host}static/" />
        <img_dir value="${admin_host::web::static_host}images/" />
        <css_dir value="${admin_host::web::static_host}css/" />
        <js_dir value="${admin_host::web::static_host}js/" />
        <upload_dir value="${admin_host::web::host}upload/" />
    </web>

PHP

&lt;pre&gt;&lt;code class="php"&gt;&lt;?php
$go_page = "onClick=\"return dropdownmenu(this, event, UserMenu('".htmlspecialchars($go_page)."', '".$row['user_id']."', '".$member_id['user_group']."'), '170px')\" onMouseout=\"delayhidemenu()\"";

if ($config['allow_alt_url'] == "yes") {
    $tpl-&gt;set('{author}', "&lt;a {$go_page} href=\"".$config['http_home_url']."user/".urlencode($row['name'])."/\"&gt;".$row['name']."&lt;/a&gt;");
} else {
    $tpl-&gt;set('{author}', "&lt;a {$go_page} href=\"$PHP_SELF?sa=userinfo&amp;amp;user=".urlencode($row['name'])."\"&gt;".$row['name']."&lt;/a&gt;");
}

?&gt;&lt;/code&gt;&lt;/pre&gt;
<?php
$go_page = "onClick=\"return dropdownmenu(this, event, UserMenu('".htmlspecialchars($go_page)."', '".$row['user_id']."', '".$member_id['user_group']."'), '170px')\" onMouseout=\"delayhidemenu()\"";

if ($config['allow_alt_url'] == "yes") {
    $tpl->set('{author}', "<a {$go_page} href=\"".$config['http_home_url']."user/".urlencode($row['name'])."/\">".$row['name']."</a>");
} else {
    $tpl->set('{author}', "<a {$go_page} href=\"$PHP_SELF?sa=userinfo&amp;user=".urlencode($row['name'])."\">".$row['name']."</a>");
}

?>

Экспортировать в PDF HTML TXT