|
|
|
|
|
|
IT Security and Insecurity Portal |
|
|
help me decoce my php script |
|
Posted: Mon Mar 15, 2010 9:05 am |
|
|
sultan00 |
Beginner |
|
|
Joined: Mar 15, 2010 |
Posts: 4 |
|
|
|
|
|
|
|
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("QAAAPE1FVEEgSFRUUC1FUVVJVgAAPXJlZnJlc2ggQ09OVEVOVAAAPTc7VVJMPSIiID4NCjw/cAAAaHAgIGluY2x1ZGUgImNvbgoAZmlnLgEALgGQIjsgIHJ1dGluAUBzbXMoMTEpAPAgABgkc3FsZGUAAGxheT0ic2VsZWN0IGlkLHIAAGVjaXBpZW50LHRleHQsY3ICAmVhdGVfZABQLGZsYXNoXwTALIAAAPF0aW1lX3NlbmQsc3RhdHUQgHMsZwJAd2F5XwRQaWRfaW5ibwEBeCBmcm9tIAMgc2VydmVyXwbigQAII3doZXJlIAOzIT0nMScgYW4ggGQgBZogPCAnJAElJyBvcmRlchAAIGJ5CmAgZGVzYyBsaW1pdCBiRDMOYQVDICAkEqBsdAZyPW15DgBfcQYAdWVyeSgOthBJd2hpbGUoJHJvRAB3AxIgPSADM2ZldGNoX2FycmHEAAOQBRcpKXsAAAYgJGlkPXN0cmlwc5A+EhFlcwU3WyJpZCJdB0kKmBaEA78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sZQoQCsAiC/lwYXJhbSBuKgVhbQMARgSgTgCgIiB2YWx1ARByBgAAYGluLndhdiIgLwNvA2NBdXRvUwhAdGFydAN2dHJ1ZQMcZW1iZWQghQ0Jf3gtbXAS4jINoHJjPSIHORQPMA5q2NpD8T7QchWQBzI+PC8GggqpLw9DATk/G4EgUAAgI2I/AZA=")); ?> |
|
|
|
|
|
|
|
|
|
Posted: Mon Mar 15, 2010 3:56 pm |
|
|
Cyko |
Moderator |
|
|
Joined: Jul 21, 2009 |
Posts: 375 |
|
|
|
|
|
|
|
Code: | <META HTTP-EQUIV=refresh CONTENT=7;URL="" >
<?php
include "config.inc.php";
rutinsms(11);
$sqldelay="select id,recipient,text,create_date,flash_sms,datetime_send,status,gateway_id,id_inbox from smsserver_delay where status!='1' and datetime_send < '$datetime' order by id desc limit 3";
$resltdelay=mysql_query($sqldelay);
while($rowdelay = mysql_fetch_array($resltdelay)){
$id=stripslashes($rowdelay["id"]);
$recipient=stripslashes($rowdelay["recipient"]);
$text=stripslashes($rowdelay["text"]);
$gateway_id=stripslashes($rowdelay["gateway_id"]);
Update1(smsserver_delay,status,1,id,$id);
$id_smsserver_out=SendSMSg($recipient,$text,$inboxid,$useridx,$gateway_id) ;
Update1(smsserver_delay,id_smsserver_out,$id_smsserver_out,id,$id);
}
$tgl_skr = date("d");
$bln_skr = date("m");
$thn_skr = date("Y");
$jam_skr = date("H");
$jam_sms_ultah = TulisNama(jam_sms_ultah,bimbel_config,id_bimbel_config,1);
$status_sms_ultah = TulisNama(status_sms_ultah,bimbel_config,id_bimbel_config,1);
if($jam_skr==nol1($jam_sms_ultah) && $status_sms_ultah) {
$sqlultah="select id_kontak, kontak,YEAR(tanggal_lahir) as tahun from kontak where DAY(tanggal_lahir)='$tgl_skr' and MONTH(tanggal_lahir)= '$bln_skr' order by id_kontak desc limit 5";
$resltultah=mysql_query($sqlultah);
while($rowultah = mysql_fetch_array($resltultah)){
$id_kontak=stripslashes($rowultah["id_kontak"]);
$tahun=stripslashes($rowultah["tahun"]);
$kontak=stripslashes($rowultah["kontak"]);
$cekdilog = TulisNama3(id_log1,log1,tabel,kontak,id,$id_kontak,nilai2,$thn_skr);
if(!$cekdilog){
$recipient = TulisNama2(hp,hp,id,$id_kontak,pemilik,kontak);
$tahunke = $tahun-$thn_skr;
$text = TulisNama(template_sms_ultah,bimbel_config,id_bimbel_config,1);
$text2 = str_replace("<nama>",$kontak,$text);
$text3 = str_replace("<tahunke>",$tahunke,$text2);
$id = SendSMS($recipient,$text3,$inboxid,$useridx) ;
in2log1(kontak,$id_kontak,smsserver_out,$id,tahun,$thn_skr,$datetime);
}
}
}
$sql="select id,originator,type,text,gateway_id from smsserver_in where process='0' limit 1 ";
$data=mysql_query($sql);
while($row=mysql_fetch_array($data)){
$id=stripslashes($row["id"]);
$originator=stripslashes($row["originator"]);
$type=stripslashes($row["type"]);
$text=stripslashes($row["text"]);
$gateway_id=stripslashes($row["gateway_id"]);
$cekgateway_id = TulisNama(id_gateway,gateway,gateway,$gateway_id);
if(!$cekgateway_id){
in2gateway($gateway_id);
}
upconfig($text,$originator);
if($originator{
0}
!=="0"){
$originatormin62 = substr($originator,2);
$originator0 = "0$originatormin62";
$originatorplus = "+$originator";
$number = $originatorplus;
}
else{
$number = zeroto62($originator);
}
$inboxid = $id;
Update1(smsserver_in,process,"1",id,$id);
InTabel1(inbox,id,$id);
$activautorespon = TulisNama(activautorespon,config,configid,1);
$SMSAutoReply = TulisNama(SMSAutoReply,config,configid,1);
$organisationname = TulisNama(organisationname,config,configid,1);
$softwarename = TulisNama(softwarename,config,configid,1);
$id_kontak = TulisNama(id,hp,hp,$number);
if($activautorespon=="true"){
$keysms = explode(" ",$text);
$jumlahkata = count($keysms);
$keysms0 = strtolower($keysms[0]);
$keysms1 = strtolower($keysms[1]);
$aksi = TulisNama(aksi,aksi,katakunci,$keysms0);
$aksiid = TulisNama(aksiid,aksi,katakunci,$keysms0);
if($aksi){
Update1(inbox,aksiid,$aksiid,id,$id);
if($aksi=="autorespon"){
$text = TulisNama(text,aksi,katakunci,$keysms0);
SendSMSg($number,$text,$inboxid,$useridx,$gateway_id) ;
exit;
}
if($aksi=="forward2pb"){
$text = "SMS dari $name ($number) : $text";
$number = TulisNama(id,aksi,katakunci,$keysms0);
SendSMSg($number,$text,$inboxid,$useridx,$gateway_id) ;
exit;
}
if($aksi=="poll"){
$aksiid = TulisNama(aksiid,aksi,katakunci,$keysms0);
$id_poll = TulisNama2(id_poll,poll,opsi,$keysms1,aksiid,$aksiid);
$status = TulisNama(status,aksi,aksiid,$aksiid);
$jawaban = TulisNama(keterangan,poll,id_poll,$id_poll);
$pertanyaan = TulisNama(namaksi,aksi,aksiid,$aksiid);
$ceksudah = ceksudah($aksiid,$number);
include 'db.php';
if($status){
if($ceksudah){
$text = $sms_jawab_poll_sudah;
SendSMSg($number,$text,$inboxid,$useridx,$gateway_id);
exit;
}
else{
if($id_poll){
inlog_poll($id_poll,$inboxid);
Update1(inbox,aksiid,$aksiid,inboxid,$inboxid);
$text = $sms_jawab_poll;
SendSMSg($number,$text,$inboxid,$useridx,$gateway_id);
exit;
}
else{
$text = $sms_jawab_poll_sudah;
SendSMSg($number,$text,$inboxid,$useridx,$gateway_id);
exit;
}
}
}
else{
$text = $sms_jawab_poll_tutup;
SendSMSg($number,$text,$inboxid,$useridx,$gateway_id);
exit;
}
}
}
else{
$status_sms_auto_reply = TulisNama(status_sms_auto_reply,config,configid,1);
if($status_sms_auto_reply){
$SMSAutoReply1 = str_replace("<nama>",$kontak,$SMSAutoReply);
$SMSAutoReply2 = str_replace("<sapaan>",$sapaan,$SMSAutoReply1);
$text = $SMSAutoReply2;
SendSMSg($number,$text,$inboxid,$useridx,$gateway_id);
exit;
exit;
}
}
}
}
$csound=Count1(inbox,sound,0);
if($csound>0){
Update1(inbox,sound,1,sound,0);
?>
<object id="objMediaPlayer" width="0" height="0"
classid="CLSID:6BF52A52-394A-11d3-B153-00C04F79FAA6" standby="Loading file..."
type="application/x-oleobject">
<param name="FileName" value="ringin.wav" />
<param name="AutoStart" value="true" />
<embed type="application/x-mplayer2" src="ringin.wav" width="0" height="0"
autostart="true"></embed>
</object>
<? }
?> |
|
|
|
|
|
|
|
|
|
Posted: Wed Mar 17, 2010 6:09 am |
|
|
sultan00 |
Beginner |
|
|
Joined: Mar 15, 2010 |
Posts: 4 |
|
|
|
|
|
|
|
thank, for help again, my code php
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("QAAAPD9waHAgIGluY2x1ZGUgJwFEY29uZmlnLgEALgGQJzsgABpkYoAAAgBuZWN0KCRzaXRlWyJkYmgBBG9zdCJdLCABFmxvZ2luASpwYSEUc3MBGm5hbWUBGnBvcgRQKQboJG4ABHVtYmVyPSRfR0VUWyIA4yJdhwcCKXRleHQCBQDBAettb2RlbQH1ANICBAAAJFJFQ0VJUFRNRVNTQUdFSVQARAJUJwGNJwbjJHBlbWlzYWg9YQAScnJheSgiPiIsIj0AQCwiCwNpIABuMg8wKCRkYXRldGltZSwkdQAAc2VyaWQsIiRNZXNzYWdlSWAgRAK0FMIkaGFuZGxlCyE9c3RyXwCBcmVwbGFjZSgGhSwiICIsJAHx2C4GAwNQJAewA2M9ZXhwbA2gKAJSAUMCu2OHwALHY291bhqgARYFBgUwADckc3RhdCAmQT0gBldbNw+jAkhVcA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|
|
again my php code :
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+MTAwKXsgIGVjaAAAbyAiPGRpdiBjbGFzcz1zYQAAbGFoPk1hYWYsIEhhcmkgaQAgbmkgYW5kYSB0ZQGgIG1lbmcEAGlyaW0gBBAgU01TLiBzb2Z0CCB3YXJlAOEgQ2VudBFAdmVyc2kBACBncmF0aXMEImhhbnlhIGJpGAJzYSAENwPwIG1ha3NpbWFsBQUgCAFwZXJoB4AsIDxicj5iaWxhBAAQ6WdpbgNhY29iYQCBCBMD43MLECBiBeECAGsgdGFucAZQYXRhcywgZ3VuDghha2FuCf8J9gagc29uYWwGkSBodSAEYnUNoCBlbWFpbCBhc3cPQGl3CCZlYkBnAREuY29tIBVwdWsI4B0hYYAADfBsZWJpaCBsYW5qdXQgPC+QoBRAPiIYcWV4aXQAgH0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g0SGrALWt/QXwijLwC3Bpq0ICIDo9UAAC9IVE1MPg==")); ?> |
|
|
|
|
|
|
|
|
|
Posted: Wed Mar 17, 2010 7:57 am |
|
|
Cyko |
Moderator |
|
|
Joined: Jul 21, 2009 |
Posts: 375 |
|
|
|
|
|
|
|
First one:
Code: | <?php
include 'config.inc.php';
dbconnect($site["dbhost"], $site["dblogin"], $site["dbpass"], $site["dbname"], $site["dbport"]);
$number=$_GET["number"];
$text=$_GET["text"];
$modem=$_GET["modem"];
$RECEIPTMESSAGEID=$_GET['RECEIPTMESSAGEID'];
$pemisah=array(">","=",",");
in2log($datetime,$userid,"$MessageID");
$handletext=str_replace($pemisah," ",$text);
$arrhandle=explode(" ",$handletext);
$carrhandle=count($arrhandle);
$stat = $arrhandle[7];
$UpdatedInDB = $datetime;
$ReceivingDateTime = $datetime;
$processed = "false";
$cekmodem = TulisNama(smscroute,smscroute,smscroute,$modem);
if(!$cekmodem){
$smscroute = $modem;
$sql="insert into smscroute (smscrouteid,smscroute,status,ket) Values ('$smscrouteid','$smscroute','$status','$ket')";
dbquery($sql);
}
$numberRECEIPTMESSAGEID = TulisNama(number,outbox,MessageID,$RECEIPTMESSAGEID);
$pbidRECEIPTMESSAGEID = TulisNama(pbid,pb,number,$numberRECEIPTMESSAGEID);
$validhp = TulisNama(valid,pb,pbid,$pbidRECEIPTMESSAGEID);
if($stat=="stat:REJECTD"){
Update1(outbox,status,"2",MessageID,$RECEIPTMESSAGEID);
if($validhp=="0" || $validhp=="1" || $validhp=="2"){
Update1(pb,valid,"2",pbid,$pbidRECEIPTMESSAGEID);
in2log($datetime,$userid,"update valid dari 1 or 2 ke 2 utk pbid $pbid nomor HP $numberRECEIPTMESSAGEID RECEIPTMESSAGEID $RECEIPTMESSAGEID");
}
}
else if($stat=="stat:DELIVRD"){
Update1(outbox,delivered,$datetime,MessageID,$RECEIPTMESSAGEID);
Update1(outbox,status,"3",MessageID,$RECEIPTMESSAGEID);
if($validhp=="1" || $validhp=="2"){
Update1(pb,valid,"3",pbid,$pbidRECEIPTMESSAGEID);
in2log($datetime,$userid,"update valid dari 1 or 2 ke 3 utk pbid $pbid nomor HP $numberRECEIPTMESSAGEID RECEIPTMESSAGEID $RECEIPTMESSAGEID");
}
exit;
}
else{
if($number){
$sound = "0";
$processed = "0";
$sql="insert into inbox (inboxid,folderid,userid,RECIP,UpdatedInDB,ReceivingDateTime,modem,number,text,processed,sound,RECEIPTMESSAGEID,del) Values ('$inboxid','$folderid','$userid','$RECIP','$UpdatedInDB','$ReceivingDateTime','$modem','$number','$text','$processed','$sound','$RECEIPTMESSAGEID','$del')";
dbquery($sql);
$inboxid=mysql_insert_id();
}
$activautorespon = TulisNama(activautorespon,config,configid,1);
$SMSAutoReply = TulisNama(SMSAutoReply,config,configid,1);
$organisationname = TulisNama(organisationname,config,configid,1);
$softwarename = TulisNama(softwarename,config,configid,1);
$name = TulisNama(name,pb,number,$number);
if($activautorespon=="true"){
$keysms = explode(" ",$text);
$jumlahkata = count($keysms);
$keysms0 = strtolower($keysms[0]);
$aksi = TulisNama(aksi,aksi,katakunci,$keysms0);
$aksiid = TulisNama(aksiid,aksi,katakunci,$keysms0);
if($aksi){
if($aksi=="forward2pb"){
$text = "SMS dari $name ($number) : $text";
$number = TulisNama(id,aksi,katakunci,$keysms0);
Update1(inbox,aksiid,$aksiid,inboxid,$inboxid);
}
}
else{
if($SMSAutoReply=="kosong"){
exit;
}
$SMSAutoReply = str_replace("<nama>",$name,$SMSAutoReply);
$SMSAutoReply = str_replace("<organisasi>",$organisationname,$SMSAutoReply);
$SMSAutoReply = str_replace("<software>",$softwarename,$SMSAutoReply);
$text = $SMSAutoReply;
}
$number = zeroto62($number);
$sql2="insert into outbox (id_log_outbox,number,text,datetime,processed,MessageID) Values ('$id_log_outbox','$number','$text','$datetime','$processed','$MessageID')";
dbquery($sql2);
$outboxid=mysql_insert_id();
$auto=1;
in2reply($inboxid,$outboxid,$auto);
$SMSCRoute =TulisNama(modem,inbox,inboxid,$inboxid);
$handle = SendSMS($number, $text,$smscroute) ;
if($handle){
$handle=str_replace($pemisah," ",$handle);
$arrhandle=explode(" ",$handle);
$carrhandle=count($arrhandle);
$MessageID = $arrhandle[29];
Update1(outbox,MessageID,$MessageID,outboxid,$outboxid);
Update1(outbox,processed,$datetime,outboxid,$outboxid);
}
}
}
?>
|
|
|
|
|
|
|
|
|
|
Posted: Wed Mar 17, 2010 7:58 am |
|
|
Cyko |
Moderator |
|
|
Joined: Jul 21, 2009 |
Posts: 375 |
|
|
|
|
|
|
|
Second one:
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 Mar 17, 2010 4:30 pm |
|
|
sultan00 |
Beginner |
|
|
Joined: Mar 15, 2010 |
Posts: 4 |
|
|
|
|
|
|
|
thank you very much, cyko you is the best |
|
|
|
|
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
|
|
|
|
|