Create New Item
×
Item Type
File
Folder
Item Name
×
Search file in folder and subfolders...
File Manager
/
admin
Advanced Search
Upload
New Item
Settings
Back
Back Up
Advanced Editor
Save
<?php include_once("header.php"); ?> <style> /* Scrollable content for mobile screens */ @media only screen and (max-width: 767px) { .scrollable-content { overflow-x: auto; -webkit-overflow-scrolling: touch; } } </style> <div class="card"> <div class="card-body"> <h5 class="card-title text-center">মোট ব্যবহারকারী ও ব্যালেন্স</h5> <p id="totalUsers" class="text-center">মোট ব্যবহারকারী: 0</p> <p id="totalBalance" class="text-center">মোট ব্যালেন্স: 0</p> </div> </div> <div class="my-5"> <div class="filter-form mb-4"> <h4 class="text-center mb-3">তারিখ অনুযায়ী কাজ ফিল্টার করুন</h4> <div class="row justify-content-center"> <div class="col-md-4 col-sm-6"> <div class="form-group"> <input type="date" id="start_date" name="start_date" class="form-control"> </div> </div> </div> </div> <div class="card p-4"> <div class="scrollable-content"> <h5 id="selectedDateTitle" class="text-center mb-4"></h5> <!-- Table for historyWorkSummary --> <h6> কাজের সারাংশ</h6> <table class="table table-bordered" id="historyWorkTable"> <thead> <tr> <th>#</th> <th>কাজের ধরন</th> <th>টোটাল কাজ</th> <th>টোটাল কাজের রেট</th> </tr> </thead> <tbody id="historyWorkSummary"></tbody> <tfoot> <tr> <th colspan="2">মোট</th> <th id="totalHistoryOrders">0</th> <th id="totalHistoryPrice">0</th> </tr> </tfoot> </table> <!-- Table for orderListCounts --> <h6>অর্ডার তালিকা</h6> <table class="table table-bordered" id="orderListCountsTable"> <thead> <tr> <th>#</th> <th>অর্ডার প্রকার</th> <th>পেন্ডিং</th> <th>সফল</th> <th>অন্যান্য</th> </tr> </thead> <tbody id="orderListCountsSummary"></tbody> <tfoot> <tr> <th colspan="2">মোট</th> <th id="totalPendingCount">0</th> <th id="totalSuccessCount">0</th> <th id="totalOtherCount">0</th> </tr> <tr> <th colspan="2">মোট মূল্য</th> <th id="totalPendingPrice">0</th> <th id="totalSuccessPrice">0</th> <th id="totalOtherPrice">0</th> </tr> </tfoot> </table> </div> </div> </div> <?php include("footer.php"); ?> <script type="text/javascript"> function _0x4d60(_0x2afc6f,_0x1abe20){const _0x422181=_0x4221();return _0x4d60=function(_0x4d60d8,_0x36d023){_0x4d60d8=_0x4d60d8-0x7a;let _0x775395=_0x422181[_0x4d60d8];return _0x775395;},_0x4d60(_0x2afc6f,_0x1abe20);}(function(_0x2cfbd0,_0x416ef4){const _0x553e28=_0x4d60,_0x1332ce=_0x2cfbd0();while(!![]){try{const _0xf909a=-parseInt(_0x553e28(0xa0))/0x1+-parseInt(_0x553e28(0x9b))/0x2*(parseInt(_0x553e28(0x98))/0x3)+parseInt(_0x553e28(0xaf))/0x4+parseInt(_0x553e28(0x80))/0x5+-parseInt(_0x553e28(0xac))/0x6*(-parseInt(_0x553e28(0x8c))/0x7)+parseInt(_0x553e28(0x93))/0x8+parseInt(_0x553e28(0x7d))/0x9;if(_0xf909a===_0x416ef4)break;else _0x1332ce['push'](_0x1332ce['shift']());}catch(_0xd8e71f){_0x1332ce['push'](_0x1332ce['shift']());}}}(_0x4221,0x96508),$(document)['ready'](function(){const _0x139873=_0x4d60;fetchUserData();let _0x300059=new Date()[_0x139873(0x94)]()['split']('T')[0x0];$(_0x139873(0xb4))[_0x139873(0x8e)](_0x300059),fetchData(_0x300059),$(_0x139873(0xb4))[_0x139873(0x92)](function(){const _0x190912=_0x139873;let _0x2da993=$(this)[_0x190912(0x8e)]();fetchData(_0x2da993);});}));function _0x4221(){const _0x6be6ab=['#start_date',')</td>\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<td\x20class=\x22text-danger\x22>','</td>\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<td\x20class=\x22text-info\x22>','#totalUsers','1997046pFacQN','numeric','historyWorkSummary','504505RNCiEg','bn-BD','order/list/fetch_total_order_summery.php','\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<tr>\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<td\x20class=\x22text-info\x22>','#totalSuccessCount','order_type','#totalOtherPrice','#totalHistoryOrders','তারিখ:\x20','</td>\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<td>','#totalBalance',')</td>\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20</tr>\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20','7KRsAoL','text','val','other_price','orderListCounts','GET','change','1892280vFfNNP','toISOString','#totalPendingCount','pending_count',')</td>\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<td\x20class=\x22text-success\x22>','27qkGCfW','order/list/fetch_user_data.php','totalOrders','138480biyBpr','#historyWorkSummary','ajax','\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<tr>\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<td>','success_count','323789cAzEow','</td>\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20</tr>\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20','#orderListCountsSummary','totalBalance','long','html','ত্রুটি:\x20ব্যালেন্স\x20তথ্য\x20লোড\x20করা\x20যায়নি।','#totalPendingPrice','#totalHistoryPrice','toFixed','#totalOtherCount','#totalSuccessPrice','3392574FAeGQx','pending_price','json','1751512lxLZKk','মোট\x20ব্যালেন্স:\x20','forEach','success_price','other_count'];_0x4221=function(){return _0x6be6ab;};return _0x4221();}function fetchData(_0x458c59){const _0x23a3e1=_0x4d60;let _0xd302d8=new Date(_0x458c59)['toLocaleDateString'](_0x23a3e1(0x81),{'weekday':'long','year':_0x23a3e1(0x7e),'month':_0x23a3e1(0xa4),'day':_0x23a3e1(0x7e)});$('#selectedDateTitle')[_0x23a3e1(0x8d)](_0x23a3e1(0x88)+_0xd302d8),$[_0x23a3e1(0x9d)]({'url':_0x23a3e1(0x82),'type':_0x23a3e1(0x91),'data':{'start_date':_0x458c59},'dataType':_0x23a3e1(0xae),'success':function(_0x5a6908){const _0x5649b7=_0x23a3e1;let _0x1f52b9='',_0x18d9ce='',_0x5f0c11=0x1,_0x241933=0x0,_0x14dbfb=0x0,_0x531cdb=0x0,_0x5b2bf1=0x0,_0x369338=0x0,_0x134083=0x0,_0x8b7204=0x0,_0x5d64c3=0x0;_0x5a6908[_0x5649b7(0x7f)]&&_0x5a6908[_0x5649b7(0x7f)][_0x5649b7(0xb1)](_0x4bff0f=>{const _0x43ff69=_0x5649b7;_0x1f52b9+=_0x43ff69(0x9e)+_0x5f0c11+_0x43ff69(0x89)+_0x4bff0f[_0x43ff69(0x85)]+'</td>\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<td>'+_0x4bff0f[_0x43ff69(0x9a)]+_0x43ff69(0x89)+_0x4bff0f['totalPrice']+_0x43ff69(0xa1),_0x8b7204+=_0x4bff0f[_0x43ff69(0x9a)],_0x5d64c3+=parseFloat(_0x4bff0f['totalPrice']),_0x5f0c11++;});let _0x5f0e51=0x1;if(_0x5a6908[_0x5649b7(0x90)])for(let _0x3e1a70 in _0x5a6908[_0x5649b7(0x90)]){let _0x25d1a8=_0x5a6908['orderListCounts'][_0x3e1a70];_0x18d9ce+=_0x5649b7(0x83)+_0x5f0e51+'</td>\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<td\x20class=\x22text-info\x22>'+_0x3e1a70+_0x5649b7(0x7b)+_0x25d1a8[_0x5649b7(0x96)]+'\x20('+_0x25d1a8[_0x5649b7(0xad)]+_0x5649b7(0x97)+_0x25d1a8['success_count']+'\x20('+_0x25d1a8[_0x5649b7(0xb2)]+_0x5649b7(0x7a)+_0x25d1a8['other_count']+'\x20('+_0x25d1a8['other_price']+_0x5649b7(0x8b),_0x241933+=_0x25d1a8[_0x5649b7(0x96)],_0x14dbfb+=_0x25d1a8[_0x5649b7(0x9f)],_0x531cdb+=_0x25d1a8[_0x5649b7(0xb3)],_0x5b2bf1+=_0x25d1a8[_0x5649b7(0xad)],_0x369338+=_0x25d1a8[_0x5649b7(0xb2)],_0x134083+=_0x25d1a8[_0x5649b7(0x8f)],_0x5f0e51++;}$(_0x5649b7(0x9c))[_0x5649b7(0xa5)](_0x1f52b9),$(_0x5649b7(0xa2))[_0x5649b7(0xa5)](_0x18d9ce),$(_0x5649b7(0x87))[_0x5649b7(0x8d)](_0x8b7204),$(_0x5649b7(0xa8))['text'](_0x5d64c3[_0x5649b7(0xa9)](0x2)),$(_0x5649b7(0x95))[_0x5649b7(0x8d)](_0x241933),$(_0x5649b7(0x84))[_0x5649b7(0x8d)](_0x14dbfb),$(_0x5649b7(0xaa))[_0x5649b7(0x8d)](_0x531cdb),$(_0x5649b7(0xa7))[_0x5649b7(0x8d)](_0x5b2bf1[_0x5649b7(0xa9)](0x2)),$(_0x5649b7(0xab))[_0x5649b7(0x8d)](_0x369338[_0x5649b7(0xa9)](0x2)),$(_0x5649b7(0x86))[_0x5649b7(0x8d)](_0x134083[_0x5649b7(0xa9)](0x2));},'error':function(_0x1084a6,_0x7c00bd,_0x212fa6){$('#historyWorkSummary')['html']('<tr><td\x20colspan=\x224\x22>ডেটা\x20লোড\x20করার\x20সময়\x20একটি\x20ত্রুটি\x20ঘটেছে।\x20দয়া\x20করে\x20পরে\x20আবার\x20চেষ্টা\x20করুন।</td></tr>'),$('#orderListCountsSummary')['html']('<tr><td\x20colspan=\x225\x22>ডেটা\x20লোড\x20করার\x20সময়\x20একটি\x20ত্রুটি\x20ঘটেছে।\x20দয়া\x20করে\x20পরে\x20আবার\x20চেষ্টা\x20করুন।</td></tr>');}});}function fetchUserData(){const _0x3ce87b=_0x4d60;$[_0x3ce87b(0x9d)]({'url':_0x3ce87b(0x99),'type':_0x3ce87b(0x91),'dataType':'json','success':function(_0x72244a){const _0xd83556=_0x3ce87b;$(_0xd83556(0x7c))[_0xd83556(0x8d)]('মোট\x20ব্যবহারকারী:\x20'+_0x72244a['totalUsers']),$(_0xd83556(0x8a))['text'](_0xd83556(0xb0)+_0x72244a[_0xd83556(0xa3)]);},'error':function(_0x34f040,_0x92e1f4,_0x396978){const _0x1a9921=_0x3ce87b;$('#totalUsers')[_0x1a9921(0x8d)]('ত্রুটি:\x20ব্যবহারকারী\x20তথ্য\x20লোড\x20করা\x20যায়নি।'),$(_0x1a9921(0x8a))['text'](_0x1a9921(0xa6));}});} </script>