Testing smilies within code backticks.
Outside
inside backticks :)
inside bbcode code tags ;)
series of smilies
If you use my plugins, please considering donating to help continue their development.
Testing smilies within code backticks.
Outside
inside backticks :)
inside bbcode code tags ;)
series of smilies
testing turkish supporting
Bu yıl Yılın Yabancı Uyruklu Öğrencisi Ödülü, Üniversitemizden mezun olan yabancı uyruklu öğrencilerden, hem derslerde hem de ders dışı faaliyetlerde başarılı olmuş üç mezunumuza verilmiştir. Öğrencilikleri süresince gösterdikleri akademik başarı ve ülkelerinin tanıtımındaki gayretleri nedeniyle Moleküler Biyoloji ve Genetik ve Kimya Bölümlerini 3,90 genel not ortalaması ile bitiren Arnavutluk uyruklu Gerta Hoxhaj, Uluslararası Ticaret Bölümünü 3,94 genel not ortalaması ile bitiren Bosna-Hersek uyruklu Vildana Jusufovic ve İşletme Bölümünü 3,89 genel not ortalaması ile bitiren Tacikistan uyruklu Abdullo Kurbanov bu ödüle layık görülmüşlerdir
Testing email notifications...
Testing php code syntax :
<?php
function iGSyntaxHilite($ig_geshipath) {
$this->ig_geshipath = $ig_geshipath;
} // END CONSTRUCTOR iGSyntaxHilite
// Function for Prefixing the DIV around
/**
* @return Starting <DIV> for the CODE BOX
* @param $hLang, $bId, $bCls
* @desc This is the function for prefixing the starting portion of the <DIV> code box with the CSS Class & Language Name Set
*/
function pFix($hLang='PHP', $bId, $bCls='syntax_hilite') {
$bBody = "";
$bId = strtolower($bId);
if(IG_PLAIN_TEXT) {
//show the PLAIN TEXT View
if(IG_PLAIN_TEXT_TYPE=="inbox") {
$ig_jsPlainTxt = "showPlainTxt";
} else {
$ig_jsPlainTxt = "showCodeTxt";
}
$bBody .= "<div class=\"igBar\"><span id=\"l{$bId}\">PLAIN TEXT</span></div>";
}
if(IG_SHOW_LANG_NAME) {
$bBody .= "<div class=\"{$bCls}\"><span class=\"langName\">{$hLang}:</span><div id=\"{$bId}\">\n";
} else {
$bBody .= "<div class=\"{$bCls}\"><div id=\"{$bId}\">\n";
}
return $bBody;
} // END pFix
// Function for Suffixing the DIV
/**
* @return Ending <DIV> for the CODE BOX
* @param $bId
* @desc This is the function for suffixing the end portion of the <DIV> code box
*/
function sFix() {
$bBody = "\n</div></div>";
return $bBody;
} // END sFix
// Function for Hiliting
/**
* @return $hCode
* @param $mTxt, $mType
* @desc This Function hilites the Codes
*/
function doHilite($mTxt, $mType='html', $sNum=1) {
global $cbId;
$sNum = (int) $sNum;
$sNum = ($sNum<1) ? 1 : $sNum;
switch($mType) {
case "as":
$mType = "actionscript";
$mTypeShow = "Actionscript";
break;
case "cpp":
$mType = "cpp";
$mTypeShow = "C++";
break;
case "js":
$mType = "javascript";
$mTypeShow = "JavaScript";
break;
case "csharp":
$mType = "csharp";
$mTypeShow = "C#";
break;
case "mysql":
$mType = "mysql";
$mTypeShow = "MySQL";
break;
case "vb":
$mType = "vb";
$mTypeShow = "Visual Basic";
break;
case "vbnet":
$mType = "vbnet";
$mTypeShow = "VB.NET";
break;
default:
$mType = $mType;
$mTypeShow = strtoupper($mType);
break;
}
if(function_exists("file_exists")) {
if(file_exists("{$this->ig_geshipath}{$mType}.php")) {
$igCheckFile = true;
} else {
$igCheckFile = false;
}
} else {
$igCheckFile = true;
}
$mTxt = clean_pre($mTxt);
if($igCheckFile) {
$geshi = new GeSHi(trim($mTxt), $mType, $this->ig_geshipath);
$geshi->set_header_type(GESHI_HEADER_DIV);
if(IG_LINE_NUMBERS) {
if(IG_FANCY_NUMBERS) {
$geshi->enable_line_numbers(GESHI_FANCY_LINE_NUMBERS, 2);
$geshi->set_line_style('color:'.IG_LINE_COLOUR_1.';', 'color:'.IG_LINE_COLOUR_2.';', true);
} else {
$geshi->enable_line_numbers(GESHI_NORMAL_LINE_NUMBERS);
$geshi->set_line_style('color:'.IG_LINE_COLOUR_1.'; font-weight:bold;', true);
}
$geshi->set_numbers_style('color:#800000;', true);
$geshi->start_line_numbers_at($sNum); // start Line Number from this number
} else {
$geshi->enable_line_numbers(GESHI_NO_LINE_NUMBERS);
}
$geshi->set_tab_width(4);
$hCode = $geshi->parse_code();
$hCode = $this->pFix($mTypeShow, $mType.'-'.$cbId).$hCode.$this->sFix();
$cbId++;
} else {
//return code as it is
if($sNum>1) {
$igAppndNum = " num={$sNum}";
} else {
$igAppndNum = "";
}
$hCode = "[{$mType}{$igAppndNum}]{$mTxt}[/{$mType}]";
}
$hCode = str_replace("<", "< ", $hCode);
$hCode = str_replace(">", " >", $hCode);
return $hCode;
} // END doHilite
}
?>
I don't run PHP highlighting here as I feel it's far too heavy of a plugin
and runs too much code for what it does.
post testing and image upload test
testing bbcode [li] [/li] vs. [*] [/*] bug
unclosed lists
test
new line after blank line
blank line test
1
2
3
4
5
RSS feed for this topic
![US [8] US](/images/flags/us.png)
in the past 30 minutes. 7 bots 2 guests