|
Menu |
|
|
Home |
| |
|
Discussions |
| |
|
Tools |
| |
|
Affiliates |
| |
|
Content |
| |
|
Info |
| | |
|
|
|
|
|
User Info |
|
Membership:
Latest: MichaelSnaRe
New Today: 0
New Yesterday: 0
Overall: 9144
People Online:
Visitors: 63
Members: 0
Total: 63
|
|
|
|
|
|
Full disclosure |
|
|
|
|
|
|
|
|
|
IT Security and Insecurity Portal |
|
|
need help, decode this php script |
|
Posted: Mon Aug 10, 2009 10:45 am |
|
|
nix |
Beginner |
|
|
Joined: Aug 10, 2009 |
Posts: 2 |
|
|
|
|
|
|
|
need help to decode this script
Code: | <?php if (!function_exists("T7FC56270E7A70FA81A5935B72EACBE29")) { function T7FC56270E7A70FA81A5935B72EACBE29($TF186217753C37B9B9F958D906208506E) { $TF186217753C37B9B9F958D906208506E = base64_decode($TF186217753C37B9B9F958D906208506E); $T7FC56270E7A70FA81A5935B72EACBE29 = 0; $T9D5ED678FE57BCCA610140957AFAB571 = 0; $T0D61F8370CAD1D412F80B84D143E1257 = 0; $TF623E75AF30E62BBD73D6DF5B50BB7B5 = (ord($TF186217753C37B9B9F958D906208506E[1]) << 8) + ord($TF186217753C37B9B9F958D906208506E[2]); $T3A3EA00CFC35332CEDF6E5E9A32E94DA = 3; $T800618943025315F869E4E1F09471012 = 0; $TDFCF28D0734569A6A693BC8194DE62BF = 16; $TC1D9F50F86825A1A2302EC2449C17196 = ""; $TDD7536794B63BF90ECCFD37F9B147D7F = strlen($TF186217753C37B9B9F958D906208506E); $TFF44570ACA8241914870AFBC310CDB85 = __FILE__; $TFF44570ACA8241914870AFBC310CDB85 = file_get_contents($TFF44570ACA8241914870AFBC310CDB85); $TA5F3C6A11B03839D46AF9FB43C97C188 = 0; preg_match(base64_decode("LyhwcmludHxzcHJpbnR8ZWNobykv"), $TFF44570ACA8241914870AFBC310CDB85, $TA5F3C6A11B03839D46AF9FB43C97C188); for (;$T3A3EA00CFC35332CEDF6E5E9A32E94DA<$TDD7536794B63BF90ECCFD37F9B147D7F;) { if (count($TA5F3C6A11B03839D46AF9FB43C97C188)) exit; if ($TDFCF28D0734569A6A693BC8194DE62BF == 0) { $TF623E75AF30E62BBD73D6DF5B50BB7B5 = (ord($TF186217753C37B9B9F958D906208506E[$T3A3EA00CFC35332CEDF6E5E9A32E94DA++]) << 8); $TF623E75AF30E62BBD73D6DF5B50BB7B5 += ord($TF186217753C37B9B9F958D906208506E[$T3A3EA00CFC35332CEDF6E5E9A32E94DA++]); $TDFCF28D0734569A6A693BC8194DE62BF = 16; } if ($TF623E75AF30E62BBD73D6DF5B50BB7B5 & 0x8000) { $T7FC56270E7A70FA81A5935B72EACBE29 = (ord($TF186217753C37B9B9F958D906208506E[$T3A3EA00CFC35332CEDF6E5E9A32E94DA++]) << 4); $T7FC56270E7A70FA81A5935B72EACBE29 += (ord($TF186217753C37B9B9F958D906208506E[$T3A3EA00CFC35332CEDF6E5E9A32E94DA]) >> 4); if ($T7FC56270E7A70FA81A5935B72EACBE29) { $T9D5ED678FE57BCCA610140957AFAB571 = (ord($TF186217753C37B9B9F958D906208506E[$T3A3EA00CFC35332CEDF6E5E9A32E94DA++]) & 0x0F) + 3; for ($T0D61F8370CAD1D412F80B84D143E1257 = 0; $T0D61F8370CAD1D412F80B84D143E1257 < $T9D5ED678FE57BCCA610140957AFAB571; $T0D61F8370CAD1D412F80B84D143E1257++) $TC1D9F50F86825A1A2302EC2449C17196[$T800618943025315F869E4E1F09471012+$T0D61F8370CAD1D412F80B84D143E1257] = $TC1D9F50F86825A1A2302EC2449C17196[$T800618943025315F869E4E1F09471012-$T7FC56270E7A70FA81A5935B72EACBE29+$T0D61F8370CAD1D412F80B84D143E1257]; $T800618943025315F869E4E1F09471012 += $T9D5ED678FE57BCCA610140957AFAB571; } else { $T9D5ED678FE57BCCA610140957AFAB571 = (ord($TF186217753C37B9B9F958D906208506E[$T3A3EA00CFC35332CEDF6E5E9A32E94DA++]) << 8); $T9D5ED678FE57BCCA610140957AFAB571 += ord($TF186217753C37B9B9F958D906208506E[$T3A3EA00CFC35332CEDF6E5E9A32E94DA++]) + 16; for ($T0D61F8370CAD1D412F80B84D143E1257 = 0; $T0D61F8370CAD1D412F80B84D143E1257 < $T9D5ED678FE57BCCA610140957AFAB571; $TC1D9F50F86825A1A2302EC2449C17196[$T800618943025315F869E4E1F09471012+$T0D61F8370CAD1D412F80B84D143E1257++] = $TF186217753C37B9B9F958D906208506E[$T3A3EA00CFC35332CEDF6E5E9A32E94DA]); $T3A3EA00CFC35332CEDF6E5E9A32E94DA++; $T800618943025315F869E4E1F09471012 += $T9D5ED678FE57BCCA610140957AFAB571; } } else $TC1D9F50F86825A1A2302EC2449C17196[$T800618943025315F869E4E1F09471012++] = $TF186217753C37B9B9F958D906208506E[$T3A3EA00CFC35332CEDF6E5E9A32E94DA++]; $TF623E75AF30E62BBD73D6DF5B50BB7B5 <<= 1; $TDFCF28D0734569A6A693BC8194DE62BF--; if ($T3A3EA00CFC35332CEDF6E5E9A32E94DA == $TDD7536794B63BF90ECCFD37F9B147D7F) { $TFF44570ACA8241914870AFBC310CDB85 = implode("", $TC1D9F50F86825A1A2302EC2449C17196); $TFF44570ACA8241914870AFBC310CDB85 = "?".">".$TFF44570ACA8241914870AFBC310CDB85."<"."?"; return $TFF44570ACA8241914870AFBC310CDB85; } } } } eval(T7FC56270E7A70FA81A5935B72EACBE29("QCBADQoAITw/cGhwIAATaW5jbHVkAChlICdjb25maWcuAQAuAeAnOyAAACAkbnVtYmVyICA9JF9SRVECQFVFU1RbIgFDIl0CAW1vZGVvZgnDZm9ybQIxUE8CAQFHAkN0ZXh0BqAEMLATAgNUAQABo2luYm94aWQDsUdFBaABBIQsAdN1c2VyAcAgPSAkALN4BxAEgCBpAABmKENvdW50VGhpc0RheShvIAB1dARwLGRhdGV0aW1lLCR0ZwAAbHNrcik+MTAwKXsgIGVjaAAAbyAiPGRpdiBjbGFzcz1zYQAAbGFoPk1hYWYsIEhhcmkgaQAgbmkgYW5kYSB0ZQGgIG1lbmc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W5pIGhhbgIQeWEgbWVuApIga2UgZyUgMSwgAYBzZWRhbmdrBAABZjIsIEhvbWVAACABkCBPZmZpY2UgdGlkYWsgYMhhAnEEkGRhcGF0AMEdECwgRCBhIHAA+WFkYSBrb250AnAC00/QAoIG6CBtBCCHewJmZXJzZWZwBcQFfC4hIA8AD3FsUiAWgGw0wApR8gDEPXplcm90bzYyKAEUKVLBaQCMbmNsdWRlICKyMHVsL60SAGMuaB7iaXN0R1EyggKMGOMvAHMCrwUoY2F0ACBufAMvAITkEgVm46E6Vz0kX0dFVFsng8QewH9fXQowDOEBJg0SGrALWt/QXwijLwC3Bpq0ICIDo9UAAC9IVE1MPg==")); ?> |
thx before
or you can download it at
Code: | http://www.turboupload.com/lv61gwxmedu8/php.zip.html |
Code: | http://www.megaupload.com/?d=YZDNE71T |
|
|
|
|
|
|
|
|
|
Posted: Tue Aug 11, 2009 11:12 am |
|
|
monde |
Beginner |
|
|
Joined: Aug 11, 2009 |
Posts: 1 |
|
|
|
|
|
|
|
Code: | <?php include 'config.inc.php';
$number =$_REQUEST["number"];
$modeofform =$_POST["modeofform"];
$text =$_POST["Text"];
$inboxid =$_GET["inboxid"];
$userid = $useridx;
if(CountThisDay(outbox,datetime,$tglskr)>100){ echo "<div class=salah>Maaf, Hari ini anda telah mengirim 100 SMS. software SMS Center versi gratis ini hanya bisa mengirim SMS maksimal 100 SMS perhari, <br>bila ingin mencoba mengirim SMS massal banyak tanpa batas, gunakan software SMS Center versi personal<br> hubungi email aswandiweb@gmail.com untuk informasi lebih lanjut </div>"; exit; } ?>
<HTML><HEAD>
<SCRIPT language="JavaScript">
function updateTextBoxCounter() {
var unicodeFlag = 0;
var extraChars = 0;
var msgCount = 0;
var destPortExtra = 0;
for (var i = 0; (!unicodeFlag && (i < document.forms[0].Text.value.length)); i++) {
if ((document.forms[0].Text.value.charAt(i) >= '0') && (document.forms[0].Text.value.charAt(i) <= '9')) {
}
else if ((document.forms[0].Text.value.charAt(i) >= 'A') && (document.forms[0].Text.value.charAt(i) <= 'Z')) {
}
else if ((document.forms[0].Text.value.charAt(i) >= 'a') && (document.forms[0].Text.value.charAt(i) <= 'z')) {
}
else if (document.forms[0].Text.value.charAt(i) == '@') {
}
else if (document.forms[0].Text.value.charCodeAt(i) == 0xA3) {
}
else if (document.forms[0].Text.value.charAt(i) == '$') {
}
else if (document.forms[0].Text.value.charCodeAt(i) == 0xA5) {
}
else if (document.forms[0].Text.value.charCodeAt(i) == 0xE8) {
}
else if (document.forms[0].Text.value.charCodeAt(i) == 0xE9) {
}
else if (document.forms[0].Text.value.charCodeAt(i) == 0xF9) {
}
else if (document.forms[0].Text.value.charCodeAt(i) == 0xEC) {
}
else if (document.forms[0].Text.value.charCodeAt(i) == 0xF2) {
}
else if (document.forms[0].Text.value.charCodeAt(i) == 0xC7) {
}
else if (document.forms[0].Text.value.charAt(i) == '\r') {
}
else if (document.forms[0].Text.value.charAt(i) == '\n') {
}
else if (document.forms[0].Text.value.charCodeAt(i) == 0xD8) {
}
else if (document.forms[0].Text.value.charCodeAt(i) == 0xF8) {
}
else if (document.forms[0].Text.value.charCodeAt(i) == 0xC5) {
}
else if (document.forms[0].Text.value.charCodeAt(i) == 0xE5) {
}
else if (document.forms[0].Text.value.charCodeAt(i) == 0x394) {
}
else if (document.forms[0].Text.value.charAt(i) == '_') {
}
else if (document.forms[0].Text.value.charCodeAt(i) == 0x3A6) {
}
else if (document.forms[0].Text.value.charCodeAt(i) == 0x393) {
}
else if (document.forms[0].Text.value.charCodeAt(i) == 0x39B) {
}
else if (document.forms[0].Text.value.charCodeAt(i) == 0x3A9) {
}
else if (document.forms[0].Text.value.charCodeAt(i) == 0x3A0) {
}
else if (document.forms[0].Text.value.charCodeAt(i) == 0x3A8) {
}
else if (document.forms[0].Text.value.charCodeAt(i) == 0x3A3) {
}
else if (document.forms[0].Text.value.charCodeAt(i) == 0x398) {
}
else if (document.forms[0].Text.value.charCodeAt(i) == 0x39E) {
}
else if (document.forms[0].Text.value.charCodeAt(i) == 0xC6) {
}
else if (document.forms[0].Text.value.charCodeAt(i) == 0xE6) {
}
else if (document.forms[0].Text.value.charCodeAt(i) == 0xDF) {
}
else if (document.forms[0].Text.value.charCodeAt(i) == 0xC9) {
}
else if (document.forms[0].Text.value.charAt(i) == ' ') {
}
else if (document.forms[0].Text.value.charAt(i) == '!') {
}
else if (document.forms[0].Text.value.charAt(i) == '\"') {
}
else if (document.forms[0].Text.value.charAt(i) == '#') {
}
else if (document.forms[0].Text.value.charCodeAt(i) == 0xA4) {
}
else if (document.forms[0].Text.value.charAt(i) == '%') {
}
else if (document.forms[0].Text.value.charAt(i) == '&') {
}
else if (document.forms[0].Text.value.charAt(i) == '\'') {
}
else if (document.forms[0].Text.value.charAt(i) == '(') {
}
else if (document.forms[0].Text.value.charAt(i) == ')') {
}
else if (document.forms[0].Text.value.charAt(i) == '*') {
}
else if (document.forms[0].Text.value.charAt(i) == '+') {
}
else if (document.forms[0].Text.value.charAt(i) == ',') {
}
else if (document.forms[0].Text.value.charAt(i) == '-') {
}
else if (document.forms[0].Text.value.charAt(i) == '.') {
}
else if (document.forms[0].Text.value.charAt(i) == '/') {
}
else if (document.forms[0].Text.value.charAt(i) == ':') {
}
else if (document.forms[0].Text.value.charAt(i) == ';') {
}
else if (document.forms[0].Text.value.charAt(i) == '<') {
}
else if (document.forms[0].Text.value.charAt(i) == '=') {
}
else if (document.forms[0].Text.value.charAt(i) == '>') {
}
else if (document.forms[0].Text.value.charAt(i) == '?') {
}
else if (document.forms[0].Text.value.charCodeAt(i) == 0xA1) {
}
else if (document.forms[0].Text.value.charCodeAt(i) == 0xC4) {
}
else if (document.forms[0].Text.value.charCodeAt(i) == 0xD6) {
}
else if (document.forms[0].Text.value.charCodeAt(i) == 0xD1) {
}
else if (document.forms[0].Text.value.charCodeAt(i) == 0xDC) {
}
else if (document.forms[0].Text.value.charCodeAt(i) == 0xA7) {
}
else if (document.forms[0].Text.value.charCodeAt(i) == 0xBF) {
}
else if (document.forms[0].Text.value.charCodeAt(i) == 0xE4) {
}
else if (document.forms[0].Text.value.charCodeAt(i) == 0xF6) {
}
else if (document.forms[0].Text.value.charCodeAt(i) == 0xF1) {
}
else if (document.forms[0].Text.value.charCodeAt(i) == 0xFC) {
}
else if (document.forms[0].Text.value.charCodeAt(i) == 0xE0) {
}
else if (document.forms[0].Text.value.charCodeAt(i) == 0x391) {
}
else if (document.forms[0].Text.value.charCodeAt(i) == 0x392) {
}
else if (document.forms[0].Text.value.charCodeAt(i) == 0x395) {
}
else if (document.forms[0].Text.value.charCodeAt(i) == 0x396) {
}
else if (document.forms[0].Text.value.charCodeAt(i) == 0x397) {
}
else if (document.forms[0].Text.value.charCodeAt(i) == 0x399) {
}
else if (document.forms[0].Text.value.charCodeAt(i) == 0x39A) {
}
else if (document.forms[0].Text.value.charCodeAt(i) == 0x39C) {
}
else if (document.forms[0].Text.value.charCodeAt(i) == 0x39D) {
}
else if (document.forms[0].Text.value.charCodeAt(i) == 0x39F) {
}
else if (document.forms[0].Text.value.charCodeAt(i) == 0x3A1) {
}
else if (document.forms[0].Text.value.charCodeAt(i) == 0x3A4) {
}
else if (document.forms[0].Text.value.charCodeAt(i) == 0x3A5) {
}
else if (document.forms[0].Text.value.charCodeAt(i) == 0x3A7) {
}
else if (document.forms[0].Text.value.charAt(i) == '^') {
extraChars++;
}
else if (document.forms[0].Text.value.charAt(i) == '{') {
extraChars++;
}
else if (document.forms[0].Text.value.charAt(i) == '}') {
extraChars++;
}
else if (document.forms[0].Text.value.charAt(i) == '\\') {
extraChars++;
}
else if (document.forms[0].Text.value.charAt(i) == '[') {
extraChars++;
}
else if (document.forms[0].Text.value.charAt(i) == '~') {
extraChars++;
}
else if (document.forms[0].Text.value.charAt(i) == ']') {
extraChars++;
}
else if (document.forms[0].Text.value.charAt(i) == '|') {
extraChars++;
}
else if (document.forms[0].Text.value.charCodeAt(i) == 0x20AC) {
extraChars++;
}
else {
unicodeFlag = 1;
}
}
if (unicodeFlag) {
msgCount = document.forms[0].Text.value.length;
if (document.forms[0].DestPort.value.length) {
msgCount += 4;
destPortExtra = 4;
}
if (msgCount <= 70) {
msgCount = 1;
}
else {
msgCount += (67-1);
msgCount -= (msgCount % 67);
msgCount /= 67;
}
document.forms[0].InfoCharCounter.value = "" + (document.forms[0].Text.value.length + destPortExtra) + " unicode characters, " + msgCount + " SMS ";
}
else {
msgCount = document.forms[0].Text.value.length + extraChars;
if (document.forms[0].DestPort.value.length) {
msgCount += 8;
destPortExtra = 8;
}
if (msgCount <= 160) {
msgCount = 1;
}
else {
msgCount += (153-1);
msgCount -= (msgCount % 153);
msgCount /= 153;
}
document.forms[0].InfoCharCounter.value = "" + (document.forms[0].Text.value.length + extraChars + destPortExtra) + " karakter atau " + msgCount + " SMS ";
}
}
function clearTextBoxCounter() {
document.forms[0].InfoCharCounter.value = "";
}
function doAddrBook() {
var newWindow;
var props = 'scrollBars=yes,resizable=yes,toolbar=no,menubar=no,location=no,directories=no,width=700,height=500';
newWindow = window.open("/AddrBook", "NowSMSAddressBook", props);
}
function addPhoneNumber(phoneNumber) {
var tempString = "";
var alreadyInList = 0;
for (var i = 0; i < window.document.forms[0].PhoneNumber.value.length; i++) {
if (window.document.forms[0].PhoneNumber.value.charAt(i) != ',') {
tempString += window.document.forms[0].PhoneNumber.value.charAt(i);
}
else {
if (tempString == phoneNumber) {
alreadyInList = 1;
}
tempString = "";
}
}
if (tempString.length) {
if (tempString == phoneNumber) {
alreadyInList = 1;
}
}
if (!alreadyInList) {
if (window.document.forms[0].PhoneNumber.value.length) {
window.document.forms[0].PhoneNumber.value += ",";
}
window.document.forms[0].PhoneNumber.value += phoneNumber;
}
}
function setPhoneNumber(phoneNumber) {
var tempString = "";
for (var i = 0; i < phoneNumber.length; i++) {
if (phoneNumber.charAt(i) != ',') {
tempString += phoneNumber.charAt(i);
}
else {
addPhoneNumber(tempString);
tempString = "";
}
}
if (tempString.length) {
addPhoneNumber(tempString);
}
}
</SCRIPT>
<script>
function OpenSearch(name)
{
wnd = window.open(name,"","menubar=0,statusbar=0,height=900px,width=900px,status=1,resizable=0,left=0,top=0,scrollbars=1");
wnd.focus();
}
</script>
</HEAD>
<?php $pemisah=array(">","=",","); if(empty($modeofform)) $modeofform=""; if(($modeofform=="u") || ($modeofform=="i")) { dbconnect($site["dbhost"], $site["dblogin"], $site["dbpass"], $site["dbname"], $site["dbport"]); $outboxid=addslashes($outboxid); $text=addslashes($text); $processed=addslashes($processed); $pemisah=array(">","=",","); if($modeofform=="x"){ dbconnect($site["dbhost"], $site["dblogin"], $site["dbpass"], $site["dbname"], $site["dbport"]); $sql="update outbox set outboxid='$outboxid', number='$number', text='$text', datetime='$datetime', processed='$processed' where outboxid=$outboxid"; dbquery($sql); echo $updated_msg; exit; } else { $textsms = urlencode($text); if($pbgroupid){ $id_template=$temp2group; $sqllog_outbox="insert into log_outbox (smscroute,datetime,id_template,pbgroupid,text) Values ('$smscroute','$datetime','$id_template','$pbgroupid','$text')"; dbquery($sqllog_outbox); $id_log_outbox=mysql_insert_id(); if($pbgroupid=="all"){ $sql2 ="select pbid,pbgroupid,name,number,datetime from pb $q"; $query2 = dbquery($sql2); $quantos= mysql_num_rows($query2); if($quantos>10){ echo "<div class=salah>Maaf, software SMS Center versi gratis ini hanya bisa mengirim SMS maksimal 10 nomor HP untuk sekali kirim, <br> bila ingin mencoba mengirim SMS massal banyak (maksimal 10ribu nomor HP sekali klik, gunakan software SMS Center versi personal<br> hubungi email aswandiweb@gmail.com untuk informasi lebih lanjut </div>"; exit; } }else if($pbgroupid=="KIRIM ULANG"){ $q = "where processed = '0000-00-00 00:00:00' "; $sql2="select outboxid,number,text from outbox $q"; $query2 = dbquery($sql2); $quantos= mysql_num_rows($query2); if($quantos>10){ echo "<div class=salah>Maaf, software SMS Center versi gratis ini hanya bisa mengirim SMS maksimal 10 nomor HP untuk sekali kirim, <br> bila ingin mencoba mengirim SMS massal banyak (maksimal 10ribu nomor HP sekali klik, gunakan software SMS Center versi personal<br> hubungi email aswandiweb@gmail.com untuk informasi lebih lanjut </div>"; exit; } }else{ $q = "where pbgroupid='$pbgroupid' or pbgroupid2='$pbgroupid' or pbgroupid3='$pbgroupid' or pbgroupid4='$pbgroupid' or pbgroupid5='$pbgroupid' "; $sql2="select pbid,pbgroupid,name,number,datetime from pb $q"; $query2 = dbquery($sql2); $quantos= mysql_num_rows($query2); if($quantos>10){ echo "<div class=salah>Maaf, software SMS Center versi gratis ini hanya bisa mengirim SMS maksimal 10 nomor HP untuk sekali kirim, <br> bila ingin mencoba mengirim SMS massal banyak (maksimal 10ribu nomor HP sekali klik, gunakan software SMS Center versi personal<br> hubungi email aswandiweb@gmail.com untuk informasi lebih lanjut </div>"; exit; } } $data2=mysql_query($sql2); while($row2=mysql_fetch_array($data2)){ if($pbgroupid=="KIRIM ULANG"){ $outboxid=stripslashes($row2["outboxid"]); $number=stripslashes($row2["number"]); $text=stripslashes($row2["text"]); }else{ $name=stripslashes($row2["name"]); $number=stripslashes($row2["number"]); if(!$number){ continue; } $numberx=zeroto62($number); echo $sql="insert into outbox (number,text,datetime,processed,userid) Values ('$numberx','$text','$datetime','$processed','$userid')"; dbquery($sql); $outboxid=mysql_insert_id(); } if($number) echo $handle = SendSMS($number, $text,$SMSCRoute) ; if($handle){ $handle=str_replace($pemisah," ",$handle); $arrhandle=explode(" ",$handle); $carrhandle=count($arrhandle); $MessageID = $arrhandle[29]; $pbidRECEIPTMESSAGEID = TulisNamapb(pbid,$number); $validhp = TulisNama(valid,pb,pbid,$pbidRECEIPTMESSAGEID); in2log($datetime,$userid,"validhp $validhp pbidRECEIPTMESSAGEID $pbidRECEIPTMESSAGEID"); if($validhp=="0" || $validhp==""){ Update1(pb,valid,"1",pbid,$pbidRECEIPTMESSAGEID); in2log($datetime,$userid,"update valid dari 0 ke 1 utk pbid $pbidRECEIPTMESSAGEID nomor HP $number"); } Update1(outbox,MessageID,$MessageID,outboxid,$outboxid); Update1(outbox,processed,$datetime,outboxid,$outboxid); echo "$name ($number) ........ "; $arrhandle=""; }else{ echo "SMS gagal dikirim"; } } echo $loading; echo "<META HTTP-EQUIV=refresh CONTENT=2;URL=?d=outbox&f=outbox.list"; exit; }else{ $arrnumber=explode(";",$Phonenumbers); $countnumber = count($arrnumber); if($countnumber>10){ echo "<div class=salah>Maaf, software SMS Center versi gratis ini hanya bisa mengirim SMS maksimal 10 nomor HP untuk sekali kirim, <br>bila ingin mencoba mengirim SMS massal banyak (maksimal 10ribu nomor HP sekali klik, gunakan software SMS Center versi personal<br> hubungi email aswandiweb@gmail.com untuk informasi lebih lanjut </div>"; exit; } for($i=0;$i<$countnumber;$i++){ if($arrnumber[$i]){ $numberx=zeroto62($arrnumber[$i]); $sql="insert into outbox (number,text,datetime,processed,userid) Values ('$numberx','$text','$datetime','$processed','$userid')"; dbquery($sql); $outboxid=mysql_insert_id(); $SMSCRoute =TulisNama(modem,inbox,inboxid,$inboxid); echo $handle = SendSMS($arrnumber[$i], $text,$SMSCRoute) ; if($handle){ if($temp2pb){ $id_template = $temp2pb; $sql="insert into log_template (id_log_template,id_template,outboxid,datetime) Values ('$id_log_template','$id_template','$outboxid','$datetime')"; dbquery($sql); } $handle=str_replace($pemisah," ",$handle); $arrhandle=explode(" ",$handle); $carrhandle=count($arrhandle); $MessageID = $arrhandle[29]; $pbidRECEIPTMESSAGEID = TulisNamapb(pbid,$number); $validhp = TulisNama(valid,pb,pbid,$pbidRECEIPTMESSAGEID); in2log($datetime,$userid,"validhp $validhp pbidRECEIPTMESSAGEID $pbidRECEIPTMESSAGEID"); if($validhp=="0" || $validhp==""){ Update1(pb,valid,"1",pbid,$pbidRECEIPTMESSAGEID); in2log($datetime,$userid,"update valid dari 0 ke 1 utk pbid $pbidRECEIPTMESSAGEID nomor HP $number"); } Update1(outbox,MessageID,$MessageID,outboxid,$outboxid); Update1(outbox,processed,$datetime,outboxid,$outboxid); Update1(inbox,processed,"1",inboxid,$inboxid); in2reply($inboxid,$outboxid,"0"); echo "SMS proses dikirim<p>"; }else{ echo "SMS gagal dikirim"; } } } echo $loading; echo "<META HTTP-EQUIV=refresh CONTENT=2;URL=?d=outbox&f=outbox.list"; exit; } } } elseif(isset($outboxid)){ $modeofform="i"; dbconnect($site["dbhost"], $site["dblogin"], $site["dbpass"], $site["dbname"], $site["dbport"]); $sql="select outboxid,number,text,datetime,processed from outbox where outboxid=$outboxid"; $reslt=dbquery($sql); $row = dbnext($reslt); $outboxid=stripslashes($row["outboxid"]); $number=stripslashes($row["number"]); $text=stripslashes($row["text"]); $datetime=stripslashes($row["datetime"]); $processed=stripslashes($row["processed"]); } else { $modeofform="i"; } if($inboxid4forward){ $text = TulisNama(text,inbox,inboxid,$inboxid4forward); } if($temp2pb){ $text = TulisNama(template,template,id_template,$temp2pb); } if($forward2group){ $text = TulisNama(text,inbox,inboxid,$forward2group); } if($temp2group){ $text = TulisNama(template,template,id_template,$temp2group); } if($outbox2group){ $text = TulisNama(text,outbox,outboxid,$outbox2group); } ?>
<BODY>
<FORM method="post" enctype="multipart-form-data" name="smsform"
onsubmit="clearTextBoxCounter()"
action="">
<TABLE border=0>
<TR>
<TD colspan="2" class=headgbr>KIRIM SMS</TD>
</TR>
<? if($pbgroupid || $forward2group || $outbox2group || $temp2group){ ?>
<TR>
<TD>Group</TD>
<TD>
<? if($pbgroupid=="all"){ echo "Semua"; }else{ echo GetValue1(pbgroupid,pbgroupname,pbgroup,$pbgroupid); } ?></TD>
</TR>
<? }else{ ?>
<TR>
<TD>Nomor HP</TD>
<TD>
<input name="Phonenumbers" type="text" class="gensmall" value="<?php echo @$number; ?>" size="40"" />
<input type="button" name="Button2" value=" ... " class="tombol" onClick="Javascript:OpenSearch('phonebook.php')" /> </TD>
</TR>
<? } ?>
<TR>
<TD valign="top">Isi SMS</TD>
<TD>
<textarea rows="6" name="Text" cols="48" onKeyUp="updateTextBoxCounter()"><?php $header = TulisNama(header,config,configid,1); $footer = TulisNama(footer,config,configid,1); if($text){ echo $text; }else{ echo "$header \n\n$footer"; } ?>
</textarea>
<br>
Ambil Template
<input type="button" name="Button22" value=" ... " class="tombol" onClick="Javascript:OpenSearch('template.php')" />
<br>
<INPUT TYPE="TEXT" SIZE="39" NAME="InfoCharCounter">
<span class="MsoNormal">
<INPUT TYPE="hidden" SIZE="10" NAME="DestPort" onKeyUp="updateTextBoxCounter()">
</span> </p></TD>
</TR>
<TR>
<TD valign="top"></TD>
<TD>
<? if($pbgroupid){ echo "Melalui"; echo GetValue3(smscroute,smscroute,smscroute,SMSCRoute,SMSCRoute); }else{ ?>
<INPUT TYPE="hidden" SIZE="10" NAME="SMSCRoute" value="<?=$SMSCRoute?>">
<? } ?>
</TD>
</TR>
<TR>
<TD> ;;</TD>
<TD><INPUT TYPE=Submit value="KIRIM"></TD>
</TR>
</TABLE>
<input type="hidden" name="modeofform" value="<?php echo $modeofform;?>">
<?php if(isset($outboxid)) echo "<input type='hidden' name='outboxid' value='$outboxid'>"; ?>
</FORM>
<div class=ket>Untuk pengiriman SMS Group, software ini hanya mengirim ke Nomor HP 1, sedangkan Nomor HP 2, Home dan Office tidak akan mendapatkan SMS, bila pada kontak tidak terdapat Nomor HP 1 maka kontak tersebut tidak mendapatkan SMS. </div>
<?php if($number){ $number=zeroto62($number); include "modul/inbox/inbox.hist.php"; include "modul/outbox/outbox.hist.php"; include "modul/catatan/catatan.list.php"; } $pbgroupid=$_GET['pbgroupid']; if($pbgroupid){ include "modul/log_outbox/log_outbox.list.php"; } ?>
</BODY>
</HTML> |
|
|
|
|
|
|
|
|
|
Posted: Wed Aug 12, 2009 2:53 am |
|
|
nix |
Beginner |
|
|
Joined: Aug 10, 2009 |
Posts: 2 |
|
|
|
|
|
|
|
thx verymuch
it works smoothly |
|
|
|
|
www.waraxe.us Forum Index -> PHP script decode requests
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
All times are GMT
Page 1 of 1
|
|
|
Powered by phpBB © 2001-2008 phpBB Group
|
|
|
|
|
|