This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| private function html_table_returner($arr,$shows,$event="",$elementid=0) | |
| { | |
| $shows=@explode(" ", $shows); | |
| $json2="<table id='rtntbl' border='1'>"; | |
| for($i=0;$i<=count($arr)-1;$i++) | |
| { | |
| $json2.="<tr>"; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| function cevir(sayi, separator) { | |
| sayarr = sayi.split(separator); | |
| var str = ""; | |
| var items = [ | |
| ["", ""], | |
| ["BIR", "ON"], | |
| ["IKI", "YIRMI"], | |
| ["UC", "OTUZ"], | |
| ["DORT", "KIRK"], | |
| ["BES", "ELLI"], |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| function vergikimlik(kno) { | |
| var v1 = 0; | |
| var v2 = 0; | |
| var v3 = 0; | |
| var v4 = 0; | |
| var v5 = 0; | |
| var v6 = 0; | |
| var v7 = 0; | |
| var v8 = 0; | |
| var v9 = 0; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| function tckimlik(kno) { | |
| var desen = /^[0-9]{11,11}/; | |
| if ((kno).match(desen)) { | |
| if (Number(kno.charAt(0)) == 0) { | |
| return false; | |
| } | |
| var tekler = Number(kno.charAt(0)) + Number(kno.charAt(2)) + Number(kno.charAt(4)) + Number(kno.charAt(6)) + Number(kno.charAt(8)); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| $(document).ready(function () { | |
| var selectedText = ""; | |
| var isSelected = false; | |
| $(this).bind('touchend', function () { | |
| if (obj.text != "") { | |
| selectedText = getSelected(); | |
| if (selectedText != null && selectedText.length > 0) { | |
| ajax("function=savetext&text=" + selectedText); | |
| isSelected = true; | |
| } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| function sanitize_to_normal_text($sanitize) { | |
| $normal_text = str_replace("-"," ",$sanitize); | |
| return ucwords($normal_text); | |
| } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| function cevir($sayi, $separator) { | |
| $sayarr = explode($separator,$sayi); | |
| $str = ""; | |
| $items = array( | |
| array("", ""), | |
| array("BIR", "ON"), | |
| array("IKI", "YIRMI"), | |
| array("UC", "OTUZ"), | |
| array("DORT", "KIRK"), |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| $resultset = Array | |
| ( | |
| [0] => Array | |
| ( | |
| [hidden_gridColumns] => | |
| [id] => 5 | |
| [code] => Garanti | |
| [explanation] => Garanti Bankas� | |
| [status] => 1 | |
| [createUserId] => 1 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| function isBusinessDay(day,month,year) { | |
| var d = new Date(year+"-"+month+"-"+day); | |
| if (d.getDay() == 0 || d.getDay() == 6) | |
| { | |
| return false; | |
| } | |
| return true; | |
| } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| parse: function(response) { | |
| var tmpData=[]; | |
| for (var i = 0; i < response.length; i++) { | |
| var tmpRow = response[i]; | |
| $.each(tmpRow, function(colNo, colValue){ | |
| if(colNo.indexOf("Date")>-1){ | |
| tmpRow[colNo]=kendo.parseDate(new Date(tmpRow[colNo])); | |
| } | |
| }); | |
| tmpData.push(tmpRow); |
OlderNewer