Also
I replace as shown
in pages_comments.php
in pcsettgs.php
in summary.php
to correct headings in Russian
========================
also
nav better look like this
========================
also next switch instead of if
========================
Also
========================
Also
I replace as shown
Code:
// echo '<div style="text-align: center;"><h3>'.strtoupper(stripslashes(html_entity_decode(i18n_r('pages_comments/pc_NCMNG')))).'</h3></div>'."\n";
echo '<h3>'.i18n_r('pages_comments/pc_NCMNG').'</h3>'."\n";
Code:
// echo '<br /><h3 style="font-size: 16px;">'.strtoupper(i18n_r('pages_comments/pc_settl')).'</h3>'."\n";
echo '<h3>'.i18n_r('pages_comments/pc_settl').'</h3>'."\n";
Code:
// echo '<br /><h3 style="font-size: 16px;">'.strtoupper(i18n_r('pages_comments/pc_hlp')).'</h3>';
echo '<h3>'.i18n_r('pages_comments/pc_hlp').'</h3>';
to correct headings in Russian
========================
also
nav better look like this
Code:
echo '<div class="pc_nav">'."\n";
echo '<style>
.pc_nav a:link {background-color: rgb(65, 90, 102); border-radius: 5px; color: #EEE; margin-left: 0px; padding: 3px 5px; text-decoration: none;}
.pc_nav a:visited {color:#DDD;}
</style>'."\n";
echo '<a href="load.php?id=pages_comments&action=pc_last" title="'.i18n_r('pages_comments/pc_lastcom').'">'.i18n_r('pages_comments/pc_lastcom').'</a>'."\n";
echo '<a href="load.php?id=pages_comments&action=pc_viewpages" title="'.i18n_r('pages_comments/pc_NEWS').'">'.i18n_r('pages_comments/pc_NEWS').'</a>'."\n";
echo '<a href="load.php?id=pages_comments&action=pc_manager" title="'.i18n_r('pages_comments/pc_mng').'">'.i18n_r('pages_comments/pc_mng').'</a>'."\n";
echo '<a href="load.php?id=pages_comments&action=pc_backup" title="'.i18n_r('pages_comments/pc_bckup').'">'.i18n_r('pages_comments/pc_bckup').'</a>'."\n";
echo '<a href="load.php?id=pages_comments&action=pc_setting" title="'.i18n_r('pages_comments/pc_settl').'">'.i18n_r('pages_comments/pc_sett').'</a>'."\n";
echo '<a href="load.php?id=pages_comments&action=pc_help" title="'.i18n_r('pages_comments/pc_hlp').'">'.i18n_r('pages_comments/pc_hlp').'</a>'."\n";
also next switch instead of if
Code:
switch (@$_GET['action']) {
case 'pc_viewpages': include ('pages_comments/pcviewpages.php'); break;
case 'pc_manager': include ('pages_comments/pcmanager.php'); break;
case 'add_pages': include ('pages_comments/pcaddpages.php'); break;
case 'del_pages': include ('pages_comments/pcdelpages.php'); break;
case 'edt_pages': include ('pages_comments/pcedtpages.php'); break;
case 'pc_viewcom': include ('pages_comments/pcviewcom.php'); break;
case 'pc_backup': include ('pages_comments/pcbackup.php'); break;
case 'pc_setting': include ('pages_comments/pcsettgs.php'); break;
case 'pc_help': include ('pages_comments/summary.php'); break;
case 'pc_last': include ('pages_comments/pclastcom.php'); break;
default: include ('pages_comments/pclastcom.php');
}
Also
Code:
function Viewmore(id){
with(document.getElementById(id).style) {
if(display=="table-row") { display="none";}
else if(display=="none") { display="table-row";}
}
}
Also
Code:
//order
switch ($eleg) {
default: $eleg = 'A';
case 'A': $num = 0; break;
case 'D': $num = $dnlLen; break;
}