Code: [Download] [Hide] [Select]
#
#-----[ OPEN ]------------------------------------------
#

includes/bbcode.php

#
#-----[ FIND ]------------------------------------------
#

$str = BBCODE_NOSMILIES_START . '<div class="code">';
$str .= '<div class="code-header" id="codehdr2_' . $code_id . '" style="position: relative;">' . $lang['Code'] . ':' . (empty($item['params']['file']) ? '' : ' (' . htmlspecialchars($item['params']['file']) . ')') . $download_text . ' [<a href="javascript:void(0)" onclick="ShowHide('code_' . $code_id . '', 'code2_' . $code_id . '', ''); ShowHide('codehdr_' . $code_id . '', 'codehdr2_' . $code_id . '', '')">' . $lang['Hide'] . '</a>]</div>';
$str .= '<div class="code-header" id="codehdr_' . $code_id . '" style="position: relative; display: none;">' . $lang['Code'] . ':' . (empty($item['params']['file']) ? '' : ' (' . htmlspecialchars($item['params']['file']) . ')') . $download_text . ' [<a href="javascript:void(0)" onclick="ShowHide('code_' . $code_id . '', 'code2_' . $code_id . '', ''); ShowHide('codehdr_' . $code_id . '', 'codehdr2_' . $code_id . '', '')">' . $lang['Show'] . '</a>]</div>';
$html = $str . '<div class="code-content" id="code_' . $code_id . '" style="position: relative;"><ol class="code-list" start="' . $start . '">' . $html . '</ol></div></div>' . BBCODE_NOSMILIES_END;

#
#-----[ REPLACE WITH ]------------------------------------------
#
$str = BBCODE_NOSMILIES_START . '<div class="code">';
/*
$str .= '<div class="code-header" id="codehdr2_' . $code_id . '" style="position: relative;">' . $lang['Code'] . ':' . (empty($item['params']['file']) ? '' : ' (' . htmlspecialchars($item['params']['file']) . ')') . $download_text . ' [<a href="javascript:void(0)" onclick="ShowHide('code_' . $code_id . '', 'code2_' . $code_id . '', ''); ShowHide('codehdr_' . $code_id . '', 'codehdr2_' . $code_id . '', '')">' . $lang['Hide'] . '</a>]</div>';
$str .= '<div class="code-header" id="codehdr_' . $code_id . '" style="position: relative; display: none;">' . $lang['Code'] . ':' . (empty($item['params']['file']) ? '' : ' (' . htmlspecialchars($item['params']['file']) . ')') . $download_text . ' [<a href="javascript:void(0)" onclick="ShowHide('code_' . $code_id . '', 'code2_' . $code_id . '', ''); ShowHide('codehdr_' . $code_id . '', 'codehdr2_' . $code_id . '', '')">' . $lang['Show'] . '</a>]</div>';
$html = $str . '<div class="code-content" id="code_' . $code_id . '" style="position: relative;"><ol class="code-list" start="' . $start . '">' . $html . '</ol></div></div>' . BBCODE_NOSMILIES_END;
*/
$str .= '<div class="code-header" id="codehdr2_' . $code_id . '" style="position: relative;">' . $lang['Code'] . ':' . (empty($item['params']['file']) ? '' : ' (' . htmlspecialchars($item['params']['file']) . ')') . $download_text . ' [<a href="javascript:void(0)" onclick="ShowHide('code_' . $code_id . '', 'code2_' . $code_id . '', ''); ShowHide('codehdr_' . $code_id . '', 'codehdr2_' . $code_id . '', '')">' . $lang['Show'] . '</a>]</div>';
$str .= '<div class="code-header" id="codehdr_' . $code_id . '" style="position: relative; display: none;">' . $lang['Code'] . ':' . (empty($item['params']['file']) ? '' : ' (' . htmlspecialchars($item['params']['file']) . ')') . $download_text . ' [<a href="javascript:void(0)" onclick="ShowHide('code_' . $code_id . '', 'code2_' . $code_id . '', ''); ShowHide('codehdr_' . $code_id . '', 'codehdr2_' . $code_id . '', '')">' . $lang['Hide'] . '</a>]</div>';
$html = $str . '<div class="code-content" id="code_' . $code_id . '" style="position: relative; display: none;"><ol class="code-list" start="' . $start . '">' . $html . '</ol></div></div>' . BBCODE_NOSMILIES_END;

#
#-----[ FIND ]------------------------------------------
#

$str = BBCODE_NOSMILIES_START . '<div class="code">';
$str .= '<div class="code-header" id="codehdr2_' . $code_id . '" style="position: relative;">' . $lang['Code'] . ':' . (empty($item['params']['file']) ? '' : ' (' . htmlspecialchars($item['params']['file']) . ')') . $download_text . ' [<a href="javascript:void(0)" onclick="ShowHide('code_' . $code_id . '', 'code2_' . $code_id . '', ''); ShowHide('codehdr_' . $code_id . '', 'codehdr2_' . $code_id . '', '')">' . $lang['Hide'] . '</a>] [<a href="javascript:void(0)" onclick="select_text('code_' . $code_id . '')">' . $lang['Select'] . '</a>]</div>';
$str .= '<div class="code-header" id="codehdr_' . $code_id . '" style="position: relative; display: none;">' . $lang['Code'] . ':' . (empty($item['params']['file']) ? '' : ' (' . htmlspecialchars($item['params']['file']) . ')') . $download_text . ' [<a href="javascript:void(0)" onclick="ShowHide('code_' . $code_id . '', 'code2_' . $code_id . '', ''); ShowHide('codehdr_' . $code_id . '', 'codehdr2_' . $code_id . '', '')">' . $lang['Show'] . '</a>]</div>';
$html = $str . '<div class="code-content" id="code_' . $code_id . '" style="position: relative;"><span class="code-row-text">' . $html . '</span></div></div>' . BBCODE_NOSMILIES_END;

#
#-----[ REPLACE WITH ]------------------------------------------
#

$str = BBCODE_NOSMILIES_START . '<div class="code">';
/*
$str .= '<div class="code-header" id="codehdr2_' . $code_id . '" style="position: relative;">' . $lang['Code'] . ':' . (empty($item['params']['file']) ? '' : ' (' . htmlspecialchars($item['params']['file']) . ')') . $download_text . ' [<a href="javascript:void(0)" onclick="ShowHide('code_' . $code_id . '', 'code2_' . $code_id . '', ''); ShowHide('codehdr_' . $code_id . '', 'codehdr2_' . $code_id . '', '')">' . $lang['Hide'] . '</a>] [<a href="javascript:void(0)" onclick="select_text('code_' . $code_id . '')">' . $lang['Select'] . '</a>]</div>';
$str .= '<div class="code-header" id="codehdr_' . $code_id . '" style="position: relative; display: none;">' . $lang['Code'] . ':' . (empty($item['params']['file']) ? '' : ' (' . htmlspecialchars($item['params']['file']) . ')') . $download_text . ' [<a href="javascript:void(0)" onclick="ShowHide('code_' . $code_id . '', 'code2_' . $code_id . '', ''); ShowHide('codehdr_' . $code_id . '', 'codehdr2_' . $code_id . '', '')">' . $lang['Show'] . '</a>]</div>';
$html = $str . '<div class="code-content" id="code_' . $code_id . '" style="position: relative;"><span class="code-row-text">' . $html . '</span></div></div>' . BBCODE_NOSMILIES_END;
*/
$str .= '<div class="code-header" id="codehdr2_' . $code_id . '" style="position: relative;">' . $lang['Code'] . ':' . (empty($item['params']['file']) ? '' : ' (' . htmlspecialchars($item['params']['file']) . ')') . $download_text . ' [<a href="javascript:void(0)" onclick="ShowHide('code_' . $code_id . '', 'code2_' . $code_id . '', ''); ShowHide('codehdr_' . $code_id . '', 'codehdr2_' . $code_id . '', '')">' . $lang['Show'] . '</a>]</div>';
$str .= '<div class="code-header" id="codehdr_' . $code_id . '" style="position: relative; display: none;">' . $lang['Code'] . ':' . (empty($item['params']['file']) ? '' : ' (' . htmlspecialchars($item['params']['file']) . ')') . $download_text . ' [<a href="javascript:void(0)" onclick="ShowHide('code_' . $code_id . '', 'code2_' . $code_id . '', ''); ShowHide('codehdr_' . $code_id . '', 'codehdr2_' . $code_id . '', '')">' . $lang['Hide'] . '</a>]</div>';
$html = $str . '<div class="code-content" id="code_' . $code_id . '" style="position: relative; display: none;"><ol class="code-list" start="' . $start . '">' . $html . '</ol></div></div>' . BBCODE_NOSMILIES_END;

#
#-----[ FIND ]------------------------------------------
#
$str = BBCODE_NOSMILIES_START . '<div class="code">';
$str .= '<div class="code-header" id="codehdr2_' . $code_id . '" style="position: relative;">' . $lang['Code'] . ':' . (empty($item['params']['file']) ? '' : ' (' . htmlspecialchars($item['params']['file']) . ')') . $download_text . ' [<a href="javascript:void(0)" onclick="ShowHide('code_' . $code_id . '', 'code2_' . $code_id . '', ''); ShowHide('codehdr_' . $code_id . '', 'codehdr2_' . $code_id . '', '')">' . $lang['Hide'] . '</a>] [<a href="javascript:void(0)" onclick="select_text('code_' . $code_id . '')">' . $lang['Select'] . '</a>]</div>';
$str .= '<div class="code-header" id="codehdr_' . $code_id . '" style="position: relative; display: none;">' . $lang['Code'] . ':' . (empty($item['params']['file']) ? '' : ' (' . htmlspecialchars($item['params']['file']) . ')') . $download_text . ' [<a href="javascript:void(0)" onclick="ShowHide('code_' . $code_id . '', 'code2_' . $code_id . '', ''); ShowHide('codehdr_' . $code_id . '', 'codehdr2_' . $code_id . '', '')">' . $lang['Show'] . '</a>]</div>';
/*
$str .= '<div class="code-header" id="codehdr2_' . $code_id . '" style="position: relative;">' . $lang['Code'] . ':' . (empty($item['params']['file']) ? '' : ' (' . htmlspecialchars($item['params']['file']) . ')') . $download_text . ' [<a href="javascript:void(0)" onclick="ShowHide('code_' . $code_id . '', 'code2_' . $code_id . '', ''); ShowHide('codehdr_' . $code_id . '', 'codehdr2_' . $code_id . '', '')">' . $lang['Hide'] . '</a>]</div>';
$str .= '<div class="code-header" id="codehdr_' . $code_id . '" style="position: relative; display: none;">' . $lang['Code'] . ':' . (empty($item['params']['file']) ? '' : ' (' . htmlspecialchars($item['params']['file']) . ')') . $download_text . ' [<a href="javascript:void(0)" onclick="ShowHide('code_' . $code_id . '', 'code2_' . $code_id . '', ''); ShowHide('codehdr_' . $code_id . '', 'codehdr2_' . $code_id . '', '')">' . $lang['Show'] . '</a>]</div>';
*/
$html = $str . '<div class="code-content" id="code_' . $code_id . '" style="position: relative;"><span class="code-row-text">' . $html . '</span></div></div>' . BBCODE_NOSMILIES_END;
#
#-----[ REPLACE WITH ]------------------------------------------
#

$str = BBCODE_NOSMILIES_START . '<div class="code">';
/*
$str .= '<div class="code-header" id="codehdr2_' . $code_id . '" style="position: relative;">' . $lang['Code'] . ':' . (empty($item['params']['file']) ? '' : ' (' . htmlspecialchars($item['params']['file']) . ')') . $download_text . ' [<a href="javascript:void(0)" onclick="ShowHide('code_' . $code_id . '', 'code2_' . $code_id . '', ''); ShowHide('codehdr_' . $code_id . '', 'codehdr2_' . $code_id . '', '')">' . $lang['Hide'] . '</a>] [<a href="javascript:void(0)" onclick="select_text('code_' . $code_id . '')">' . $lang['Select'] . '</a>]</div>';
$str .= '<div class="code-header" id="codehdr_' . $code_id . '" style="position: relative; display: none;">' . $lang['Code'] . ':' . (empty($item['params']['file']) ? '' : ' (' . htmlspecialchars($item['params']['file']) . ')') . $download_text . ' [<a href="javascript:void(0)" onclick="ShowHide('code_' . $code_id . '', 'code2_' . $code_id . '', ''); ShowHide('codehdr_' . $code_id . '', 'codehdr2_' . $code_id . '', '')">' . $lang['Show'] . '</a>]</div>';
$html = $str . '<div class="code-content" id="code_' . $code_id . '" style="position: relative;"><span class="code-row-text">' . $html . '</span></div></div>' . BBCODE_NOSMILIES_END;
*/
$str .= '<div class="code-header" id="codehdr2_' . $code_id . '" style="position: relative;">' . $lang['Code'] . ':' . (empty($item['params']['file']) ? '' : ' (' . htmlspecialchars($item['params']['file']) . ')') . $download_text . ' [<a href="javascript:void(0)" onclick="ShowHide('code_' . $code_id . '', 'code2_' . $code_id . '', ''); ShowHide('codehdr_' . $code_id . '', 'codehdr2_' . $code_id . '', '')">' . $lang['Show'] . '</a>]</div>';
$str .= '<div class="code-header" id="codehdr_' . $code_id . '" style="position: relative; display: none;">' . $lang['Code'] . ':' . (empty($item['params']['file']) ? '' : ' (' . htmlspecialchars($item['params']['file']) . ')') . $download_text . ' [<a href="javascript:void(0)" onclick="ShowHide('code_' . $code_id . '', 'code2_' . $code_id . '', ''); ShowHide('codehdr_' . $code_id . '', 'codehdr2_' . $code_id . '', '')">' . $lang['Hide'] . '</a>] [<a href="javascript:void(0)" onclick="select_text('code_' . $code_id . '')">' . $lang['Select'] . '</a>]</div>';
$html = $str . '<div class="code-content" id="code_' . $code_id . '" style="position: relative; display: none;"><span class="code-row-text">' . $html . '</span></div></div>' . BBCODE_NOSMILIES_END;

#
#-----[ SAVE/CLOSE ALL FILES ]------------------------------------------
#

# EoM