repo stringlengths 7 63 | file_url stringlengths 81 284 | file_path stringlengths 5 200 | content stringlengths 0 32.8k | language stringclasses 1
value | license stringclasses 7
values | commit_sha stringlengths 40 40 | retrieved_at stringdate 2026-01-04 15:02:33 2026-01-05 05:24:06 | truncated bool 2
classes |
|---|---|---|---|---|---|---|---|---|
echoCTF/echoCTF.RED | https://github.com/echoCTF/echoCTF.RED/blob/842f644a0b15af85ba5ffda841b32b40121c3063/backend/modules/gameplay/views/hint/view.php | backend/modules/gameplay/views/hint/view.php | <?php
use yii\helpers\Html;
use yii\widgets\DetailView;
/* @var $this yii\web\View */
/* @var $model app\modules\gameplay\models\Hint */
$this->title=$model->title;
$this->params['breadcrumbs'][]=ucfirst(Yii::$app->controller->module->id);
$this->params['breadcrumbs'][]=['label' => 'Hints', 'url' => ['index']];
$thi... | php | BSD-2-Clause | 842f644a0b15af85ba5ffda841b32b40121c3063 | 2026-01-05T04:18:44.767387Z | false |
echoCTF/echoCTF.RED | https://github.com/echoCTF/echoCTF.RED/blob/842f644a0b15af85ba5ffda841b32b40121c3063/backend/modules/gameplay/views/hint/index.php | backend/modules/gameplay/views/hint/index.php | <?php
use yii\helpers\Html;
use yii\grid\GridView;
/* @var $this yii\web\View */
/* @var $searchModel app\modules\gameplay\models\HintSearch */
/* @var $dataProvider yii\data\ActiveDataProvider */
$this->title=ucfirst(Yii::$app->controller->module->id).' / '.ucfirst(Yii::$app->controller->id);
$this->params['breadcr... | php | BSD-2-Clause | 842f644a0b15af85ba5ffda841b32b40121c3063 | 2026-01-05T04:18:44.767387Z | false |
echoCTF/echoCTF.RED | https://github.com/echoCTF/echoCTF.RED/blob/842f644a0b15af85ba5ffda841b32b40121c3063/backend/modules/gameplay/views/hint/_search.php | backend/modules/gameplay/views/hint/_search.php | <?php
use yii\helpers\Html;
use yii\widgets\ActiveForm;
/* @var $this yii\web\View */
/* @var $model app\modules\gameplay\models\HintSearch */
/* @var $form yii\widgets\ActiveForm */
?>
<div class="hint-search">
<?php $form=ActiveForm::begin([
'action' => ['index'],
'method' => 'get',
]);?>
... | php | BSD-2-Clause | 842f644a0b15af85ba5ffda841b32b40121c3063 | 2026-01-05T04:18:44.767387Z | false |
echoCTF/echoCTF.RED | https://github.com/echoCTF/echoCTF.RED/blob/842f644a0b15af85ba5ffda841b32b40121c3063/backend/modules/gameplay/views/hint/update.php | backend/modules/gameplay/views/hint/update.php | <?php
use yii\helpers\Html;
/* @var $this yii\web\View */
/* @var $model app\modules\gameplay\models\Hint */
$this->title='Update Hint: '.$model->title;
$this->params['breadcrumbs'][]=ucfirst(Yii::$app->controller->module->id);
$this->params['breadcrumbs'][]=['label' => 'Hints', 'url' => ['index']];
$this->params['b... | php | BSD-2-Clause | 842f644a0b15af85ba5ffda841b32b40121c3063 | 2026-01-05T04:18:44.767387Z | false |
echoCTF/echoCTF.RED | https://github.com/echoCTF/echoCTF.RED/blob/842f644a0b15af85ba5ffda841b32b40121c3063/backend/modules/gameplay/views/hint/create.php | backend/modules/gameplay/views/hint/create.php | <?php
use yii\helpers\Html;
/* @var $this yii\web\View */
/* @var $model app\modules\gameplay\models\Hint */
$this->title='Create Hint';
$this->params['breadcrumbs'][]=['label' => 'Hints', 'url' => ['index']];
$this->params['breadcrumbs'][]=$this->title;
yii\bootstrap5\Modal::begin([
'title' => '<h2><i class="bi... | php | BSD-2-Clause | 842f644a0b15af85ba5ffda841b32b40121c3063 | 2026-01-05T04:18:44.767387Z | false |
echoCTF/echoCTF.RED | https://github.com/echoCTF/echoCTF.RED/blob/842f644a0b15af85ba5ffda841b32b40121c3063/backend/modules/gameplay/views/hint/help/index.php | backend/modules/gameplay/views/hint/help/index.php | <p>Comming soon...</p>
| php | BSD-2-Clause | 842f644a0b15af85ba5ffda841b32b40121c3063 | 2026-01-05T04:18:44.767387Z | false |
echoCTF/echoCTF.RED | https://github.com/echoCTF/echoCTF.RED/blob/842f644a0b15af85ba5ffda841b32b40121c3063/backend/modules/gameplay/views/hint/help/update.php | backend/modules/gameplay/views/hint/help/update.php | <p>Comming soon...</p>
| php | BSD-2-Clause | 842f644a0b15af85ba5ffda841b32b40121c3063 | 2026-01-05T04:18:44.767387Z | false |
echoCTF/echoCTF.RED | https://github.com/echoCTF/echoCTF.RED/blob/842f644a0b15af85ba5ffda841b32b40121c3063/backend/modules/gameplay/views/hint/help/create.php | backend/modules/gameplay/views/hint/help/create.php | <p>Comming soon...</p>
| php | BSD-2-Clause | 842f644a0b15af85ba5ffda841b32b40121c3063 | 2026-01-05T04:18:44.767387Z | false |
echoCTF/echoCTF.RED | https://github.com/echoCTF/echoCTF.RED/blob/842f644a0b15af85ba5ffda841b32b40121c3063/backend/modules/gameplay/views/credential/_form.php | backend/modules/gameplay/views/credential/_form.php | <?php
use yii\helpers\Html;
use yii\widgets\ActiveForm;
use yii\helpers\ArrayHelper;
use app\modules\gameplay\models\Target;
/* @var $this yii\web\View */
/* @var $model app\modules\gameplay\models\Credential */
/* @var $form yii\widgets\ActiveForm */
?>
<div class="credential-form">
<?php $form=ActiveForm::beg... | php | BSD-2-Clause | 842f644a0b15af85ba5ffda841b32b40121c3063 | 2026-01-05T04:18:44.767387Z | false |
echoCTF/echoCTF.RED | https://github.com/echoCTF/echoCTF.RED/blob/842f644a0b15af85ba5ffda841b32b40121c3063/backend/modules/gameplay/views/credential/view.php | backend/modules/gameplay/views/credential/view.php | <?php
use yii\helpers\Html;
use yii\widgets\DetailView;
/* @var $this yii\web\View */
/* @var $model app\modules\gameplay\models\Credential */
$this->title=$model->title;
$this->params['breadcrumbs'][]=['label' => 'Credentials', 'url' => ['index']];
$this->params['breadcrumbs'][]=$this->title;
\yii\web\YiiAsset::reg... | php | BSD-2-Clause | 842f644a0b15af85ba5ffda841b32b40121c3063 | 2026-01-05T04:18:44.767387Z | false |
echoCTF/echoCTF.RED | https://github.com/echoCTF/echoCTF.RED/blob/842f644a0b15af85ba5ffda841b32b40121c3063/backend/modules/gameplay/views/credential/index.php | backend/modules/gameplay/views/credential/index.php | <?php
use yii\helpers\Html;
use yii\grid\GridView;
/* @var $this yii\web\View */
/* @var $searchModel app\modules\gameplay\models\CredentialSearch */
/* @var $dataProvider yii\data\ActiveDataProvider */
$this->title='Credentials';
$this->params['breadcrumbs'][] = ['label' => $this->title, 'url' => ['index']];
yii\bo... | php | BSD-2-Clause | 842f644a0b15af85ba5ffda841b32b40121c3063 | 2026-01-05T04:18:44.767387Z | false |
echoCTF/echoCTF.RED | https://github.com/echoCTF/echoCTF.RED/blob/842f644a0b15af85ba5ffda841b32b40121c3063/backend/modules/gameplay/views/credential/_search.php | backend/modules/gameplay/views/credential/_search.php | <?php
use yii\helpers\Html;
use yii\widgets\ActiveForm;
/* @var $this yii\web\View */
/* @var $model app\modules\gameplay\models\CredentialSearch */
/* @var $form yii\widgets\ActiveForm */
?>
<div class="credential-search">
<?php $form=ActiveForm::begin([
'action' => ['index'],
'method' => 'get'... | php | BSD-2-Clause | 842f644a0b15af85ba5ffda841b32b40121c3063 | 2026-01-05T04:18:44.767387Z | false |
echoCTF/echoCTF.RED | https://github.com/echoCTF/echoCTF.RED/blob/842f644a0b15af85ba5ffda841b32b40121c3063/backend/modules/gameplay/views/credential/update.php | backend/modules/gameplay/views/credential/update.php | <?php
use yii\helpers\Html;
/* @var $this yii\web\View */
/* @var $model app\modules\gameplay\models\Credential */
$this->title='Update Credential: '.$model->title;
$this->params['breadcrumbs'][]=['label' => 'Credentials', 'url' => ['index']];
$this->params['breadcrumbs'][]=['label' => $model->title, 'url' => ['view... | php | BSD-2-Clause | 842f644a0b15af85ba5ffda841b32b40121c3063 | 2026-01-05T04:18:44.767387Z | false |
echoCTF/echoCTF.RED | https://github.com/echoCTF/echoCTF.RED/blob/842f644a0b15af85ba5ffda841b32b40121c3063/backend/modules/gameplay/views/credential/create.php | backend/modules/gameplay/views/credential/create.php | <?php
use yii\helpers\Html;
/* @var $this yii\web\View */
/* @var $model app\modules\gameplay\models\Credential */
$this->title='Create Credential';
$this->params['breadcrumbs'][]=['label' => 'Credentials', 'url' => ['index']];
$this->params['breadcrumbs'][]=$this->title;
yii\bootstrap5\Modal::begin([
'title' =>... | php | BSD-2-Clause | 842f644a0b15af85ba5ffda841b32b40121c3063 | 2026-01-05T04:18:44.767387Z | false |
echoCTF/echoCTF.RED | https://github.com/echoCTF/echoCTF.RED/blob/842f644a0b15af85ba5ffda841b32b40121c3063/backend/modules/gameplay/views/credential/help/index.php | backend/modules/gameplay/views/credential/help/index.php | <p>Comming soon...</p>
| php | BSD-2-Clause | 842f644a0b15af85ba5ffda841b32b40121c3063 | 2026-01-05T04:18:44.767387Z | false |
echoCTF/echoCTF.RED | https://github.com/echoCTF/echoCTF.RED/blob/842f644a0b15af85ba5ffda841b32b40121c3063/backend/modules/gameplay/views/credential/help/update.php | backend/modules/gameplay/views/credential/help/update.php | <p>Comming soon...</p>
| php | BSD-2-Clause | 842f644a0b15af85ba5ffda841b32b40121c3063 | 2026-01-05T04:18:44.767387Z | false |
echoCTF/echoCTF.RED | https://github.com/echoCTF/echoCTF.RED/blob/842f644a0b15af85ba5ffda841b32b40121c3063/backend/modules/gameplay/views/credential/help/create.php | backend/modules/gameplay/views/credential/help/create.php | <p>Comming soon...</p>
| php | BSD-2-Clause | 842f644a0b15af85ba5ffda841b32b40121c3063 | 2026-01-05T04:18:44.767387Z | false |
echoCTF/echoCTF.RED | https://github.com/echoCTF/echoCTF.RED/blob/842f644a0b15af85ba5ffda841b32b40121c3063/backend/modules/gameplay/views/tutorial-target/_form.php | backend/modules/gameplay/views/tutorial-target/_form.php | <?php
use yii\helpers\Html;
use yii\widgets\ActiveForm;
use yii\helpers\ArrayHelper;
use app\modules\gameplay\models\Target;
use app\modules\gameplay\models\Tutorial;
/* @var $this yii\web\View */
/* @var $model app\modules\gameplay\models\TutorialTarget */
/* @var $form yii\widgets\ActiveForm */
?>
<div class="tuto... | php | BSD-2-Clause | 842f644a0b15af85ba5ffda841b32b40121c3063 | 2026-01-05T04:18:44.767387Z | false |
echoCTF/echoCTF.RED | https://github.com/echoCTF/echoCTF.RED/blob/842f644a0b15af85ba5ffda841b32b40121c3063/backend/modules/gameplay/views/tutorial-target/view.php | backend/modules/gameplay/views/tutorial-target/view.php | <?php
use yii\helpers\Html;
use yii\widgets\DetailView;
/* @var $this yii\web\View */
/* @var $model app\modules\gameplay\models\TutorialTarget */
$this->title = $model->tutorial_id;
$this->params['breadcrumbs'][] = ['label' => Yii::t('app', 'Tutorial Targets'), 'url' => ['index']];
$this->params['breadcrumbs'][] = ... | php | BSD-2-Clause | 842f644a0b15af85ba5ffda841b32b40121c3063 | 2026-01-05T04:18:44.767387Z | false |
echoCTF/echoCTF.RED | https://github.com/echoCTF/echoCTF.RED/blob/842f644a0b15af85ba5ffda841b32b40121c3063/backend/modules/gameplay/views/tutorial-target/index.php | backend/modules/gameplay/views/tutorial-target/index.php | <?php
use yii\helpers\Html;
use yii\grid\GridView;
/* @var $this yii\web\View */
/* @var $searchModel app\modules\gameplay\models\TutorialTargetSearch */
/* @var $dataProvider yii\data\ActiveDataProvider */
$this->title = Yii::t('app', 'Tutorial Targets');
$this->params['breadcrumbs'][] = ['label' => $this->title, '... | php | BSD-2-Clause | 842f644a0b15af85ba5ffda841b32b40121c3063 | 2026-01-05T04:18:44.767387Z | false |
echoCTF/echoCTF.RED | https://github.com/echoCTF/echoCTF.RED/blob/842f644a0b15af85ba5ffda841b32b40121c3063/backend/modules/gameplay/views/tutorial-target/_search.php | backend/modules/gameplay/views/tutorial-target/_search.php | <?php
use yii\helpers\Html;
use yii\widgets\ActiveForm;
/* @var $this yii\web\View */
/* @var $model app\modules\gameplay\models\TutorialTargetSearch */
/* @var $form yii\widgets\ActiveForm */
?>
<div class="tutorial-target-search">
<?php $form = ActiveForm::begin([
'action' => ['index'],
'metho... | php | BSD-2-Clause | 842f644a0b15af85ba5ffda841b32b40121c3063 | 2026-01-05T04:18:44.767387Z | false |
echoCTF/echoCTF.RED | https://github.com/echoCTF/echoCTF.RED/blob/842f644a0b15af85ba5ffda841b32b40121c3063/backend/modules/gameplay/views/tutorial-target/update.php | backend/modules/gameplay/views/tutorial-target/update.php | <?php
use yii\helpers\Html;
/* @var $this yii\web\View */
/* @var $model app\modules\gameplay\models\TutorialTarget */
$this->title = Yii::t('app', 'Update Tutorial Target: {name}', [
'name' => $model->tutorial_id,
]);
$this->params['breadcrumbs'][] = ['label' => Yii::t('app', 'Tutorial Targets'), 'url' => ['ind... | php | BSD-2-Clause | 842f644a0b15af85ba5ffda841b32b40121c3063 | 2026-01-05T04:18:44.767387Z | false |
echoCTF/echoCTF.RED | https://github.com/echoCTF/echoCTF.RED/blob/842f644a0b15af85ba5ffda841b32b40121c3063/backend/modules/gameplay/views/tutorial-target/create.php | backend/modules/gameplay/views/tutorial-target/create.php | <?php
use yii\helpers\Html;
/* @var $this yii\web\View */
/* @var $model app\modules\gameplay\models\TutorialTarget */
$this->title = Yii::t('app', 'Create Tutorial Target');
$this->params['breadcrumbs'][] = ['label' => Yii::t('app', 'Tutorial Targets'), 'url' => ['index']];
$this->params['breadcrumbs'][] = $this->t... | php | BSD-2-Clause | 842f644a0b15af85ba5ffda841b32b40121c3063 | 2026-01-05T04:18:44.767387Z | false |
echoCTF/echoCTF.RED | https://github.com/echoCTF/echoCTF.RED/blob/842f644a0b15af85ba5ffda841b32b40121c3063/backend/modules/gameplay/views/tutorial-target/help/index.php | backend/modules/gameplay/views/tutorial-target/help/index.php | <p>Comming soon...</p>
| php | BSD-2-Clause | 842f644a0b15af85ba5ffda841b32b40121c3063 | 2026-01-05T04:18:44.767387Z | false |
echoCTF/echoCTF.RED | https://github.com/echoCTF/echoCTF.RED/blob/842f644a0b15af85ba5ffda841b32b40121c3063/backend/modules/gameplay/views/tutorial-target/help/update.php | backend/modules/gameplay/views/tutorial-target/help/update.php | <p>Comming soon...</p>
| php | BSD-2-Clause | 842f644a0b15af85ba5ffda841b32b40121c3063 | 2026-01-05T04:18:44.767387Z | false |
echoCTF/echoCTF.RED | https://github.com/echoCTF/echoCTF.RED/blob/842f644a0b15af85ba5ffda841b32b40121c3063/backend/modules/gameplay/views/tutorial-target/help/create.php | backend/modules/gameplay/views/tutorial-target/help/create.php | <p>Comming soon...</p>
| php | BSD-2-Clause | 842f644a0b15af85ba5ffda841b32b40121c3063 | 2026-01-05T04:18:44.767387Z | false |
echoCTF/echoCTF.RED | https://github.com/echoCTF/echoCTF.RED/blob/842f644a0b15af85ba5ffda841b32b40121c3063/backend/modules/sales/Module.php | backend/modules/sales/Module.php | <?php
namespace app\modules\sales;
use Yii;
use yii\base\BootstrapInterface;
use yii\base\Module as BaseModule;
use yii\helpers\ArrayHelper;
/**
* sales module definition class
*/
class Module extends BaseModule implements BootstrapInterface
{
/**
* {@inheritdoc}
*/
public $controllerNamespace = '... | php | BSD-2-Clause | 842f644a0b15af85ba5ffda841b32b40121c3063 | 2026-01-05T04:18:44.767387Z | false |
echoCTF/echoCTF.RED | https://github.com/echoCTF/echoCTF.RED/blob/842f644a0b15af85ba5ffda841b32b40121c3063/backend/modules/sales/commands/CronController.php | backend/modules/sales/commands/CronController.php | <?php
namespace app\modules\sales\commands;
use yii\console\Controller;
use yii\helpers\Console;
use app\modules\sales\models\Product;
use app\modules\sales\models\PlayerProduct;
use app\modules\sales\models\PlayerSubscription;
use app\modules\sales\models\PlayerPaymentHistory;
use app\modules\sales\models\PlayerCust... | php | BSD-2-Clause | 842f644a0b15af85ba5ffda841b32b40121c3063 | 2026-01-05T04:18:44.767387Z | false |
echoCTF/echoCTF.RED | https://github.com/echoCTF/echoCTF.RED/blob/842f644a0b15af85ba5ffda841b32b40121c3063/backend/modules/sales/controllers/PlayerCustomerController.php | backend/modules/sales/controllers/PlayerCustomerController.php | <?php
namespace app\modules\sales\controllers;
use Yii;
use yii\web\Controller;
use yii\web\NotFoundHttpException;
use yii\filters\VerbFilter;
use app\modules\sales\models\PlayerCustomerSearch;
use app\modules\frontend\models\Player;
use app\modules\sales\models\PlayerSubscription;
use yii\helpers\ArrayHelper;
/**
... | php | BSD-2-Clause | 842f644a0b15af85ba5ffda841b32b40121c3063 | 2026-01-05T04:18:44.767387Z | false |
echoCTF/echoCTF.RED | https://github.com/echoCTF/echoCTF.RED/blob/842f644a0b15af85ba5ffda841b32b40121c3063/backend/modules/sales/controllers/ProductController.php | backend/modules/sales/controllers/ProductController.php | <?php
namespace app\modules\sales\controllers;
use Yii;
use app\modules\sales\models\Product;
use app\modules\sales\models\ProductSearch;
use app\modules\sales\models\ProductNetwork;
use yii\web\Controller;
use yii\web\NotFoundHttpException;
use yii\filters\VerbFilter;
use yii\helpers\ArrayHelper;
/**
* ProductCont... | php | BSD-2-Clause | 842f644a0b15af85ba5ffda841b32b40121c3063 | 2026-01-05T04:18:44.767387Z | false |
echoCTF/echoCTF.RED | https://github.com/echoCTF/echoCTF.RED/blob/842f644a0b15af85ba5ffda841b32b40121c3063/backend/modules/sales/controllers/PlayerPaymentHistoryController.php | backend/modules/sales/controllers/PlayerPaymentHistoryController.php | <?php
namespace app\modules\sales\controllers;
use Yii;
use app\modules\sales\models\PlayerPaymentHistory;
use app\modules\sales\models\PlayerPaymentHistorySearch;
use yii\web\Controller;
use yii\web\NotFoundHttpException;
use yii\filters\VerbFilter;
use yii\helpers\ArrayHelper;
/**
* PlayerPaymentHistoryController... | php | BSD-2-Clause | 842f644a0b15af85ba5ffda841b32b40121c3063 | 2026-01-05T04:18:44.767387Z | false |
echoCTF/echoCTF.RED | https://github.com/echoCTF/echoCTF.RED/blob/842f644a0b15af85ba5ffda841b32b40121c3063/backend/modules/sales/controllers/PriceController.php | backend/modules/sales/controllers/PriceController.php | <?php
namespace app\modules\sales\controllers;
use Yii;
use app\modules\sales\models\Price;
use app\modules\sales\models\PriceSearch;
use yii\web\NotFoundHttpException;
use yii\helpers\ArrayHelper;
/**
* PriceController implements the CRUD actions for Price model.
*/
class PriceController extends \app\components\B... | php | BSD-2-Clause | 842f644a0b15af85ba5ffda841b32b40121c3063 | 2026-01-05T04:18:44.767387Z | false |
echoCTF/echoCTF.RED | https://github.com/echoCTF/echoCTF.RED/blob/842f644a0b15af85ba5ffda841b32b40121c3063/backend/modules/sales/controllers/DefaultController.php | backend/modules/sales/controllers/DefaultController.php | <?php
namespace app\modules\sales\controllers;
use Yii;
use yii\web\Controller;
use app\modules\sales\models\PlayerCustomerSearch;
use yii\helpers\ArrayHelper;
/**
* Default controller for the `sales` module
*/
class DefaultController extends \app\components\BaseController
{
/**
* {@inheritdoc}
*/
publi... | php | BSD-2-Clause | 842f644a0b15af85ba5ffda841b32b40121c3063 | 2026-01-05T04:18:44.767387Z | false |
echoCTF/echoCTF.RED | https://github.com/echoCTF/echoCTF.RED/blob/842f644a0b15af85ba5ffda841b32b40121c3063/backend/modules/sales/controllers/StripeWebhookController.php | backend/modules/sales/controllers/StripeWebhookController.php | <?php
namespace app\modules\sales\controllers;
use Yii;
use app\modules\sales\models\StripeWebhook;
use app\modules\sales\models\StripeWebhookSearch;
use yii\web\Controller;
use yii\web\NotFoundHttpException;
use yii\filters\VerbFilter;
use yii\helpers\ArrayHelper;
/**
* StripeWebhookController implements the CRUD ... | php | BSD-2-Clause | 842f644a0b15af85ba5ffda841b32b40121c3063 | 2026-01-05T04:18:44.767387Z | false |
echoCTF/echoCTF.RED | https://github.com/echoCTF/echoCTF.RED/blob/842f644a0b15af85ba5ffda841b32b40121c3063/backend/modules/sales/controllers/PlayerSubscriptionController.php | backend/modules/sales/controllers/PlayerSubscriptionController.php | <?php
namespace app\modules\sales\controllers;
use Yii;
use app\modules\sales\models\PlayerSubscription;
use app\modules\sales\models\PlayerSubscriptionSearch;
use app\modules\sales\models\Product;
use app\modules\frontend\models\Player;
use app\modules\gameplay\models\NetworkPlayer;
use yii\base\UserException;
use y... | php | BSD-2-Clause | 842f644a0b15af85ba5ffda841b32b40121c3063 | 2026-01-05T04:18:44.767387Z | false |
echoCTF/echoCTF.RED | https://github.com/echoCTF/echoCTF.RED/blob/842f644a0b15af85ba5ffda841b32b40121c3063/backend/modules/sales/controllers/PlayerProductController.php | backend/modules/sales/controllers/PlayerProductController.php | <?php
namespace app\modules\sales\controllers;
use Yii;
use app\modules\sales\models\PlayerProduct;
use app\modules\sales\models\PlayerProductSearch;
use yii\web\Controller;
use yii\web\NotFoundHttpException;
use yii\filters\VerbFilter;
use yii\helpers\ArrayHelper;
/**
* PlayerProductController implements the CRUD ... | php | BSD-2-Clause | 842f644a0b15af85ba5ffda841b32b40121c3063 | 2026-01-05T04:18:44.767387Z | false |
echoCTF/echoCTF.RED | https://github.com/echoCTF/echoCTF.RED/blob/842f644a0b15af85ba5ffda841b32b40121c3063/backend/modules/sales/controllers/ProductNetworkController.php | backend/modules/sales/controllers/ProductNetworkController.php | <?php
namespace app\modules\sales\controllers;
use Yii;
use app\modules\sales\models\ProductNetwork;
use app\modules\sales\models\ProductNetworkSearch;
use yii\web\Controller;
use yii\web\NotFoundHttpException;
use yii\filters\VerbFilter;
use yii\helpers\ArrayHelper;
/**
* ProductNetworkController implements the CR... | php | BSD-2-Clause | 842f644a0b15af85ba5ffda841b32b40121c3063 | 2026-01-05T04:18:44.767387Z | false |
echoCTF/echoCTF.RED | https://github.com/echoCTF/echoCTF.RED/blob/842f644a0b15af85ba5ffda841b32b40121c3063/backend/modules/sales/models/PriceQuery.php | backend/modules/sales/models/PriceQuery.php | <?php
namespace app\modules\sales\models;
/**
* This is the ActiveQuery class for [[Price]].
*
* @see Price
*/
class PriceQuery extends \yii\db\ActiveQuery
{
public function active()
{
return $this->andWhere('[[status]]=1');
}
/**
* {@inheritdoc}
* @return Price[]|array
*/
... | php | BSD-2-Clause | 842f644a0b15af85ba5ffda841b32b40121c3063 | 2026-01-05T04:18:44.767387Z | false |
echoCTF/echoCTF.RED | https://github.com/echoCTF/echoCTF.RED/blob/842f644a0b15af85ba5ffda841b32b40121c3063/backend/modules/sales/models/ProductNetwork.php | backend/modules/sales/models/ProductNetwork.php | <?php
namespace app\modules\sales\models;
use Yii;
use app\modules\gameplay\models\Network;
/**
* This is the model class for table "product_network".
*
* @property string $product_id
* @property int $network_id
*
* @property Network $network
* @property Product $product
*/
class ProductNetwork extends \yii\... | php | BSD-2-Clause | 842f644a0b15af85ba5ffda841b32b40121c3063 | 2026-01-05T04:18:44.767387Z | false |
echoCTF/echoCTF.RED | https://github.com/echoCTF/echoCTF.RED/blob/842f644a0b15af85ba5ffda841b32b40121c3063/backend/modules/sales/models/ProductSearch.php | backend/modules/sales/models/ProductSearch.php | <?php
namespace app\modules\sales\models;
use yii\base\Model;
use yii\data\ActiveDataProvider;
use app\modules\sales\models\Product;
/**
* ProductSearch represents the model behind the search form of `app\modules\sales\models\Product`.
*/
class ProductSearch extends Product
{
/**
* {@inheritdoc}
*/
... | php | BSD-2-Clause | 842f644a0b15af85ba5ffda841b32b40121c3063 | 2026-01-05T04:18:44.767387Z | false |
echoCTF/echoCTF.RED | https://github.com/echoCTF/echoCTF.RED/blob/842f644a0b15af85ba5ffda841b32b40121c3063/backend/modules/sales/models/PlayerProductQuery.php | backend/modules/sales/models/PlayerProductQuery.php | <?php
namespace app\modules\sales\models;
/**
* This is the ActiveQuery class for [[PlayerProduct]].
*
* @see PlayerProduct
*/
class PlayerProductQuery extends \yii\db\ActiveQuery
{
public function expired($interval = null)
{
if ($interval === null)
return $this->andWhere('ending < NOW()');
ret... | php | BSD-2-Clause | 842f644a0b15af85ba5ffda841b32b40121c3063 | 2026-01-05T04:18:44.767387Z | false |
echoCTF/echoCTF.RED | https://github.com/echoCTF/echoCTF.RED/blob/842f644a0b15af85ba5ffda841b32b40121c3063/backend/modules/sales/models/PlayerPaymentHistorySearch.php | backend/modules/sales/models/PlayerPaymentHistorySearch.php | <?php
namespace app\modules\sales\models;
use yii\base\Model;
use yii\data\ActiveDataProvider;
use app\modules\sales\models\PlayerPaymentHistory;
/**
* PlayerPaymentHistorySearch represents the model behind the search form of `app\modules\sales\models\PlayerPaymentHistory`.
*/
class PlayerPaymentHistorySearch exte... | php | BSD-2-Clause | 842f644a0b15af85ba5ffda841b32b40121c3063 | 2026-01-05T04:18:44.767387Z | false |
echoCTF/echoCTF.RED | https://github.com/echoCTF/echoCTF.RED/blob/842f644a0b15af85ba5ffda841b32b40121c3063/backend/modules/sales/models/Product.php | backend/modules/sales/models/Product.php | <?php
namespace app\modules\sales\models;
use Yii;
use yii\helpers\Html;
/**
* This is the model class for table "product".
*
* @property string $id
* @property string $name
* @property string|null $description
* @property int $active
* @property int $livemode
* @property string|null $metadata
* @property s... | php | BSD-2-Clause | 842f644a0b15af85ba5ffda841b32b40121c3063 | 2026-01-05T04:18:44.767387Z | false |
echoCTF/echoCTF.RED | https://github.com/echoCTF/echoCTF.RED/blob/842f644a0b15af85ba5ffda841b32b40121c3063/backend/modules/sales/models/PlayerProductSearch.php | backend/modules/sales/models/PlayerProductSearch.php | <?php
namespace app\modules\sales\models;
use yii\base\Model;
use yii\data\ActiveDataProvider;
use app\modules\sales\models\PlayerProduct;
/**
* PlayerProductSearch represents the model behind the search form of `app\modules\sales\models\PlayerProduct`.
*/
class PlayerProductSearch extends PlayerProduct
{
public... | php | BSD-2-Clause | 842f644a0b15af85ba5ffda841b32b40121c3063 | 2026-01-05T04:18:44.767387Z | false |
echoCTF/echoCTF.RED | https://github.com/echoCTF/echoCTF.RED/blob/842f644a0b15af85ba5ffda841b32b40121c3063/backend/modules/sales/models/PlayerPaymentHistory.php | backend/modules/sales/models/PlayerPaymentHistory.php | <?php
namespace app\modules\sales\models;
use Yii;
use app\modules\frontend\models\Player;
/**
* This is the model class for table "player_payment_history".
*
* @property int $id
* @property int $player_id
* @property string $payment_id
* @property int|null $amount
* @property string|null $metadata
* @proper... | php | BSD-2-Clause | 842f644a0b15af85ba5ffda841b32b40121c3063 | 2026-01-05T04:18:44.767387Z | false |
echoCTF/echoCTF.RED | https://github.com/echoCTF/echoCTF.RED/blob/842f644a0b15af85ba5ffda841b32b40121c3063/backend/modules/sales/models/PriceSearch.php | backend/modules/sales/models/PriceSearch.php | <?php
namespace app\modules\sales\models;
use yii\base\Model;
use yii\data\ActiveDataProvider;
use app\modules\sales\models\Price;
/**
* PriceSearch represents the model behind the search form of `app\modules\sales\models\Price`.
*/
class PriceSearch extends Price
{
public $product_name;
/**
* {@inheritdoc... | php | BSD-2-Clause | 842f644a0b15af85ba5ffda841b32b40121c3063 | 2026-01-05T04:18:44.767387Z | false |
echoCTF/echoCTF.RED | https://github.com/echoCTF/echoCTF.RED/blob/842f644a0b15af85ba5ffda841b32b40121c3063/backend/modules/sales/models/StripeWebhookQuery.php | backend/modules/sales/models/StripeWebhookQuery.php | <?php
namespace app\modules\sales\models;
/**
* This is the ActiveQuery class for [[StripeWebhook]].
*
* @see StripeWebhook
*/
class StripeWebhookQuery extends \yii\db\ActiveQuery
{
/*public function active()
{
return $this->andWhere('[[status]]=1');
}*/
/**
* {@inheritdoc}
* @r... | php | BSD-2-Clause | 842f644a0b15af85ba5ffda841b32b40121c3063 | 2026-01-05T04:18:44.767387Z | false |
echoCTF/echoCTF.RED | https://github.com/echoCTF/echoCTF.RED/blob/842f644a0b15af85ba5ffda841b32b40121c3063/backend/modules/sales/models/PlayerSubscription.php | backend/modules/sales/models/PlayerSubscription.php | <?php
namespace app\modules\sales\models;
use Yii;
use app\modules\frontend\models\Player;
use app\modules\gameplay\models\NetworkPlayer;
use yii\base\UserException;
use yii\behaviors\TimestampBehavior;
use yii\db\Expression;
use yii\helpers\Html;
/**
* This is the model class for table "player_subscription".
*
*... | php | BSD-2-Clause | 842f644a0b15af85ba5ffda841b32b40121c3063 | 2026-01-05T04:18:44.767387Z | false |
echoCTF/echoCTF.RED | https://github.com/echoCTF/echoCTF.RED/blob/842f644a0b15af85ba5ffda841b32b40121c3063/backend/modules/sales/models/PlayerCustomerSearch.php | backend/modules/sales/models/PlayerCustomerSearch.php | <?php
namespace app\modules\sales\models;
use yii\base\Model;
use yii\data\ActiveDataProvider;
use app\modules\frontend\models\Player;
use yii\helpers\Html;
/**
* PlayerSearch represents the model behind the search form of `app\modules\frontend\models\Player`.
*/
class PlayerCustomerSearch extends Player
{
/**... | php | BSD-2-Clause | 842f644a0b15af85ba5ffda841b32b40121c3063 | 2026-01-05T04:18:44.767387Z | false |
echoCTF/echoCTF.RED | https://github.com/echoCTF/echoCTF.RED/blob/842f644a0b15af85ba5ffda841b32b40121c3063/backend/modules/sales/models/PlayerPaymentHistoryQuery.php | backend/modules/sales/models/PlayerPaymentHistoryQuery.php | <?php
namespace app\modules\sales\models;
/**
* This is the ActiveQuery class for [[PlayerPaymentHistory]].
*
* @see PlayerPaymentHistory
*/
class PlayerPaymentHistoryQuery extends \yii\db\ActiveQuery
{
/*public function active()
{
return $this->andWhere('[[status]]=1');
}*/
/**
* {@... | php | BSD-2-Clause | 842f644a0b15af85ba5ffda841b32b40121c3063 | 2026-01-05T04:18:44.767387Z | false |
echoCTF/echoCTF.RED | https://github.com/echoCTF/echoCTF.RED/blob/842f644a0b15af85ba5ffda841b32b40121c3063/backend/modules/sales/models/StripeWebhook.php | backend/modules/sales/models/StripeWebhook.php | <?php
namespace app\modules\sales\models;
use Yii;
/**
* This is the model class for table "stripe_webhook".
*
* @property int $id
* @property string $type
* @property string|null $object
* @property string|null $object_id
* @property string $ts
*/
class StripeWebhook extends \yii\db\ActiveRecord
{
/**
... | php | BSD-2-Clause | 842f644a0b15af85ba5ffda841b32b40121c3063 | 2026-01-05T04:18:44.767387Z | false |
echoCTF/echoCTF.RED | https://github.com/echoCTF/echoCTF.RED/blob/842f644a0b15af85ba5ffda841b32b40121c3063/backend/modules/sales/models/StripeWebhookSearch.php | backend/modules/sales/models/StripeWebhookSearch.php | <?php
namespace app\modules\sales\models;
use yii\base\Model;
use yii\data\ActiveDataProvider;
use app\modules\sales\models\StripeWebhook;
/**
* StripeWebhookSearch represents the model behind the search form of `app\modules\sales\models\StripeWebhook`.
*/
class StripeWebhookSearch extends StripeWebhook
{
/**
... | php | BSD-2-Clause | 842f644a0b15af85ba5ffda841b32b40121c3063 | 2026-01-05T04:18:44.767387Z | false |
echoCTF/echoCTF.RED | https://github.com/echoCTF/echoCTF.RED/blob/842f644a0b15af85ba5ffda841b32b40121c3063/backend/modules/sales/models/Price.php | backend/modules/sales/models/Price.php | <?php
namespace app\modules\sales\models;
use Yii;
use yii\helpers\Html;
/**
* This is the model class for table "price".
*
* @property string $id
* @property boolean $active
* @property string #currency
* @property string|null $metadata
* @property string|null $nickname
* @property string $product_id
* @pr... | php | BSD-2-Clause | 842f644a0b15af85ba5ffda841b32b40121c3063 | 2026-01-05T04:18:44.767387Z | false |
echoCTF/echoCTF.RED | https://github.com/echoCTF/echoCTF.RED/blob/842f644a0b15af85ba5ffda841b32b40121c3063/backend/modules/sales/models/ProductNetworkSearch.php | backend/modules/sales/models/ProductNetworkSearch.php | <?php
namespace app\modules\sales\models;
use yii\base\Model;
use yii\data\ActiveDataProvider;
use app\modules\sales\models\ProductNetwork;
/**
* ProductNetworkSearch represents the model behind the search form of `app\modules\sales\models\ProductNetwork`.
*/
class ProductNetworkSearch extends ProductNetwork
{
p... | php | BSD-2-Clause | 842f644a0b15af85ba5ffda841b32b40121c3063 | 2026-01-05T04:18:44.767387Z | false |
echoCTF/echoCTF.RED | https://github.com/echoCTF/echoCTF.RED/blob/842f644a0b15af85ba5ffda841b32b40121c3063/backend/modules/sales/models/PlayerProduct.php | backend/modules/sales/models/PlayerProduct.php | <?php
namespace app\modules\sales\models;
use Yii;
use app\modules\frontend\models\Player;
use yii\base\UserException;
use yii\behaviors\TimestampBehavior;
use yii\db\Expression;
/**
* This is the model class for table "player_product".
*
* @property int $id
* @property int $player_id
* @property string $produc... | php | BSD-2-Clause | 842f644a0b15af85ba5ffda841b32b40121c3063 | 2026-01-05T04:18:44.767387Z | false |
echoCTF/echoCTF.RED | https://github.com/echoCTF/echoCTF.RED/blob/842f644a0b15af85ba5ffda841b32b40121c3063/backend/modules/sales/models/PlayerSubscriptionSearch.php | backend/modules/sales/models/PlayerSubscriptionSearch.php | <?php
namespace app\modules\sales\models;
use yii\base\Model;
use yii\data\ActiveDataProvider;
use app\modules\sales\models\PlayerSubscription;
/**
* PlayerSubscriptionSearch represents the model behind the search form of `app\modules\sales\models\PlayerSubscription`.
*/
class PlayerSubscriptionSearch extends Play... | php | BSD-2-Clause | 842f644a0b15af85ba5ffda841b32b40121c3063 | 2026-01-05T04:18:44.767387Z | false |
echoCTF/echoCTF.RED | https://github.com/echoCTF/echoCTF.RED/blob/842f644a0b15af85ba5ffda841b32b40121c3063/backend/modules/sales/models/ProductQuery.php | backend/modules/sales/models/ProductQuery.php | <?php
namespace app\modules\sales\models;
/**
* This is the ActiveQuery class for [[Product]].
*
* @see Product
*/
class ProductQuery extends \yii\db\ActiveQuery
{
/*public function active()
{
return $this->andWhere('[[status]]=1');
}*/
/**
* {@inheritdoc}
* @return Product[]|ar... | php | BSD-2-Clause | 842f644a0b15af85ba5ffda841b32b40121c3063 | 2026-01-05T04:18:44.767387Z | false |
echoCTF/echoCTF.RED | https://github.com/echoCTF/echoCTF.RED/blob/842f644a0b15af85ba5ffda841b32b40121c3063/backend/modules/sales/models/PlayerSubscriptionQuery.php | backend/modules/sales/models/PlayerSubscriptionQuery.php | <?php
namespace app\modules\sales\models;
/**
* This is the ActiveQuery class for [[PlayerSubscription]].
*
* @see PlayerSubscription
*/
class PlayerSubscriptionQuery extends \yii\db\ActiveQuery
{
public function vip()
{
return $this->andWhere("[[subscription_id]]='sub_vip'");
}
public fu... | php | BSD-2-Clause | 842f644a0b15af85ba5ffda841b32b40121c3063 | 2026-01-05T04:18:44.767387Z | false |
echoCTF/echoCTF.RED | https://github.com/echoCTF/echoCTF.RED/blob/842f644a0b15af85ba5ffda841b32b40121c3063/backend/modules/sales/models/ProductNetworkQuery.php | backend/modules/sales/models/ProductNetworkQuery.php | <?php
namespace app\modules\sales\models;
/**
* This is the ActiveQuery class for [[ProductNetwork]].
*
* @see ProductNetwork
*/
class ProductNetworkQuery extends \yii\db\ActiveQuery
{
/*public function active()
{
return $this->andWhere('[[status]]=1');
}*/
/**
* {@inheritdoc}
*... | php | BSD-2-Clause | 842f644a0b15af85ba5ffda841b32b40121c3063 | 2026-01-05T04:18:44.767387Z | false |
echoCTF/echoCTF.RED | https://github.com/echoCTF/echoCTF.RED/blob/842f644a0b15af85ba5ffda841b32b40121c3063/backend/modules/sales/views/player-payment-history/_form.php | backend/modules/sales/views/player-payment-history/_form.php | <?php
use yii\helpers\Html;
use yii\widgets\ActiveForm;
/** @var yii\web\View $this */
/** @var app\modules\sales\models\PlayerPaymentHistory $model */
/** @var yii\widgets\ActiveForm $form */
?>
<div class="player-payment-history-form">
<?php $form = ActiveForm::begin(); ?>
<?= $form->field($model, 'custo... | php | BSD-2-Clause | 842f644a0b15af85ba5ffda841b32b40121c3063 | 2026-01-05T04:18:44.767387Z | false |
echoCTF/echoCTF.RED | https://github.com/echoCTF/echoCTF.RED/blob/842f644a0b15af85ba5ffda841b32b40121c3063/backend/modules/sales/views/player-payment-history/view.php | backend/modules/sales/views/player-payment-history/view.php | <?php
use yii\helpers\Html;
use yii\widgets\DetailView;
/** @var yii\web\View $this */
/** @var app\modules\sales\models\PlayerPaymentHistory $model */
$this->title = $model->id;
$this->params['breadcrumbs'][] = ['label' => Yii::t('app', 'Player Payment Histories'), 'url' => ['index']];
$this->params['breadcrumbs'][... | php | BSD-2-Clause | 842f644a0b15af85ba5ffda841b32b40121c3063 | 2026-01-05T04:18:44.767387Z | false |
echoCTF/echoCTF.RED | https://github.com/echoCTF/echoCTF.RED/blob/842f644a0b15af85ba5ffda841b32b40121c3063/backend/modules/sales/views/player-payment-history/index.php | backend/modules/sales/views/player-payment-history/index.php | <?php
use app\modules\sales\models\PlayerPaymentHistory;
use yii\helpers\Html;
use yii\helpers\Url;
use yii\grid\ActionColumn;
use yii\grid\GridView;
use yii\widgets\Pjax;
/** @var yii\web\View $this */
/** @var app\modules\sales\models\PlayerPaymentHistorySearch $searchModel */
/** @var yii\data\ActiveDataProvider $... | php | BSD-2-Clause | 842f644a0b15af85ba5ffda841b32b40121c3063 | 2026-01-05T04:18:44.767387Z | false |
echoCTF/echoCTF.RED | https://github.com/echoCTF/echoCTF.RED/blob/842f644a0b15af85ba5ffda841b32b40121c3063/backend/modules/sales/views/player-payment-history/_search.php | backend/modules/sales/views/player-payment-history/_search.php | <?php
use yii\helpers\Html;
use yii\widgets\ActiveForm;
/** @var yii\web\View $this */
/** @var app\modules\sales\models\PlayerPaymentHistorySearch $model */
/** @var yii\widgets\ActiveForm $form */
?>
<div class="player-payment-history-search">
<?php $form = ActiveForm::begin([
'action' => ['index'],
... | php | BSD-2-Clause | 842f644a0b15af85ba5ffda841b32b40121c3063 | 2026-01-05T04:18:44.767387Z | false |
echoCTF/echoCTF.RED | https://github.com/echoCTF/echoCTF.RED/blob/842f644a0b15af85ba5ffda841b32b40121c3063/backend/modules/sales/views/player-payment-history/update.php | backend/modules/sales/views/player-payment-history/update.php | <?php
use yii\helpers\Html;
/** @var yii\web\View $this */
/** @var app\modules\sales\models\PlayerPaymentHistory $model */
$this->title = Yii::t('app', 'Update Player Payment History: {name}', [
'name' => $model->id,
]);
$this->params['breadcrumbs'][] = ['label' => Yii::t('app', 'Player Payment Histories'), 'ur... | php | BSD-2-Clause | 842f644a0b15af85ba5ffda841b32b40121c3063 | 2026-01-05T04:18:44.767387Z | false |
echoCTF/echoCTF.RED | https://github.com/echoCTF/echoCTF.RED/blob/842f644a0b15af85ba5ffda841b32b40121c3063/backend/modules/sales/views/player-payment-history/create.php | backend/modules/sales/views/player-payment-history/create.php | <?php
use yii\helpers\Html;
/** @var yii\web\View $this */
/** @var app\modules\sales\models\PlayerPaymentHistory $model */
$this->title = Yii::t('app', 'Create Player Payment History');
$this->params['breadcrumbs'][] = ['label' => Yii::t('app', 'Player Payment Histories'), 'url' => ['index']];
$this->params['breadc... | php | BSD-2-Clause | 842f644a0b15af85ba5ffda841b32b40121c3063 | 2026-01-05T04:18:44.767387Z | false |
echoCTF/echoCTF.RED | https://github.com/echoCTF/echoCTF.RED/blob/842f644a0b15af85ba5ffda841b32b40121c3063/backend/modules/sales/views/product-network/_form.php | backend/modules/sales/views/product-network/_form.php | <?php
use yii\helpers\Html;
use yii\widgets\ActiveForm;
/* @var $this yii\web\View */
/* @var $model app\modules\sales\models\ProductNetwork */
/* @var $form yii\widgets\ActiveForm */
?>
<div class="product-network-form">
<?php $form = ActiveForm::begin(); ?>
<?= $form->field($model, 'product_id')->textInp... | php | BSD-2-Clause | 842f644a0b15af85ba5ffda841b32b40121c3063 | 2026-01-05T04:18:44.767387Z | false |
echoCTF/echoCTF.RED | https://github.com/echoCTF/echoCTF.RED/blob/842f644a0b15af85ba5ffda841b32b40121c3063/backend/modules/sales/views/product-network/view.php | backend/modules/sales/views/product-network/view.php | <?php
use yii\helpers\Html;
use yii\widgets\DetailView;
/* @var $this yii\web\View */
/* @var $model app\modules\sales\models\ProductNetwork */
$this->title = $model->product_id;
$this->params['breadcrumbs'][] = ['label' => Yii::t('app', 'Sales'), 'url' => ['/sales/default/index']];
$this->params['breadcrumbs'][] = ... | php | BSD-2-Clause | 842f644a0b15af85ba5ffda841b32b40121c3063 | 2026-01-05T04:18:44.767387Z | false |
echoCTF/echoCTF.RED | https://github.com/echoCTF/echoCTF.RED/blob/842f644a0b15af85ba5ffda841b32b40121c3063/backend/modules/sales/views/product-network/index.php | backend/modules/sales/views/product-network/index.php | <?php
use yii\helpers\Html;
use yii\grid\GridView;
use yii\widgets\Pjax;
/* @var $this yii\web\View */
/* @var $searchModel app\modules\sales\models\ProductNetworkSearch */
/* @var $dataProvider yii\data\ActiveDataProvider */
$this->title = Yii::t('app', 'Product Networks');
$this->params['breadcrumbs'][] = ['label' ... | php | BSD-2-Clause | 842f644a0b15af85ba5ffda841b32b40121c3063 | 2026-01-05T04:18:44.767387Z | false |
echoCTF/echoCTF.RED | https://github.com/echoCTF/echoCTF.RED/blob/842f644a0b15af85ba5ffda841b32b40121c3063/backend/modules/sales/views/product-network/_search.php | backend/modules/sales/views/product-network/_search.php | <?php
use yii\helpers\Html;
use yii\widgets\ActiveForm;
/* @var $this yii\web\View */
/* @var $model app\modules\sales\models\ProductNetworkSearch */
/* @var $form yii\widgets\ActiveForm */
?>
<div class="product-network-search">
<?php $form = ActiveForm::begin([
'action' => ['index'],
'method' ... | php | BSD-2-Clause | 842f644a0b15af85ba5ffda841b32b40121c3063 | 2026-01-05T04:18:44.767387Z | false |
echoCTF/echoCTF.RED | https://github.com/echoCTF/echoCTF.RED/blob/842f644a0b15af85ba5ffda841b32b40121c3063/backend/modules/sales/views/product-network/update.php | backend/modules/sales/views/product-network/update.php | <?php
use yii\helpers\Html;
/* @var $this yii\web\View */
/* @var $model app\modules\sales\models\ProductNetwork */
$this->title = Yii::t('app', 'Update Product Network: {name}', [
'name' => $model->product_id,
]);
$this->params['breadcrumbs'][] = ['label' => Yii::t('app', 'Sales'), 'url' => ['/sales/default/ind... | php | BSD-2-Clause | 842f644a0b15af85ba5ffda841b32b40121c3063 | 2026-01-05T04:18:44.767387Z | false |
echoCTF/echoCTF.RED | https://github.com/echoCTF/echoCTF.RED/blob/842f644a0b15af85ba5ffda841b32b40121c3063/backend/modules/sales/views/product-network/create.php | backend/modules/sales/views/product-network/create.php | <?php
use yii\helpers\Html;
/* @var $this yii\web\View */
/* @var $model app\modules\sales\models\ProductNetwork */
$this->title = Yii::t('app', 'Create Product Network');
$this->params['breadcrumbs'][] = ['label' => Yii::t('app', 'Sales'), 'url' => ['/sales/default/index']];
$this->params['breadcrumbs'][] = ['label... | php | BSD-2-Clause | 842f644a0b15af85ba5ffda841b32b40121c3063 | 2026-01-05T04:18:44.767387Z | false |
echoCTF/echoCTF.RED | https://github.com/echoCTF/echoCTF.RED/blob/842f644a0b15af85ba5ffda841b32b40121c3063/backend/modules/sales/views/default/index.php | backend/modules/sales/views/default/index.php | <?php
use yii\helpers\Html;
use app\modules\frontend\models\Player;
use app\modules\sales\models\PlayerPaymentHistory;
use app\modules\sales\models\Product;
use app\modules\sales\models\PlayerSubscription;
use app\modules\sales\models\PlayerProduct;
use app\widgets\statscard\StatsCardModel;
$this->title = Yii::t('app... | php | BSD-2-Clause | 842f644a0b15af85ba5ffda841b32b40121c3063 | 2026-01-05T04:18:44.767387Z | false |
echoCTF/echoCTF.RED | https://github.com/echoCTF/echoCTF.RED/blob/842f644a0b15af85ba5ffda841b32b40121c3063/backend/modules/sales/views/player-product/_form.php | backend/modules/sales/views/player-product/_form.php | <?php
use yii\helpers\Html;
use yii\widgets\ActiveForm;
/** @var yii\web\View $this */
/** @var app\modules\sales\models\PlayerProduct $model */
/** @var yii\widgets\ActiveForm $form */
?>
<div class="player-product-form">
<?php $form = ActiveForm::begin(); ?>
<?= $form->field($model, 'player_id')->textInp... | php | BSD-2-Clause | 842f644a0b15af85ba5ffda841b32b40121c3063 | 2026-01-05T04:18:44.767387Z | false |
echoCTF/echoCTF.RED | https://github.com/echoCTF/echoCTF.RED/blob/842f644a0b15af85ba5ffda841b32b40121c3063/backend/modules/sales/views/player-product/view.php | backend/modules/sales/views/player-product/view.php | <?php
use yii\helpers\Html;
use yii\widgets\DetailView;
/** @var yii\web\View $this */
/** @var app\modules\sales\models\PlayerProduct $model */
$this->title = $model->id;
$this->params['breadcrumbs'][] = ['label' => Yii::t('app', 'Player Purchases'), 'url' => ['index']];
$this->params['breadcrumbs'][] = $this->titl... | php | BSD-2-Clause | 842f644a0b15af85ba5ffda841b32b40121c3063 | 2026-01-05T04:18:44.767387Z | false |
echoCTF/echoCTF.RED | https://github.com/echoCTF/echoCTF.RED/blob/842f644a0b15af85ba5ffda841b32b40121c3063/backend/modules/sales/views/player-product/index.php | backend/modules/sales/views/player-product/index.php | <?php
use app\modules\sales\models\PlayerProduct;
use yii\helpers\Html;
use yii\helpers\Url;
use yii\grid\ActionColumn;
use yii\grid\GridView;
use yii\widgets\Pjax;
/** @var yii\web\View $this */
/** @var app\modules\sales\models\PlayerProductSearch $searchModel */
/** @var yii\data\ActiveDataProvider $dataProvider *... | php | BSD-2-Clause | 842f644a0b15af85ba5ffda841b32b40121c3063 | 2026-01-05T04:18:44.767387Z | false |
echoCTF/echoCTF.RED | https://github.com/echoCTF/echoCTF.RED/blob/842f644a0b15af85ba5ffda841b32b40121c3063/backend/modules/sales/views/player-product/_search.php | backend/modules/sales/views/player-product/_search.php | <?php
use yii\helpers\Html;
use yii\widgets\ActiveForm;
/** @var yii\web\View $this */
/** @var app\modules\sales\models\PlayerProductSearch $model */
/** @var yii\widgets\ActiveForm $form */
?>
<div class="player-product-search">
<?php $form = ActiveForm::begin([
'action' => ['index'],
'method'... | php | BSD-2-Clause | 842f644a0b15af85ba5ffda841b32b40121c3063 | 2026-01-05T04:18:44.767387Z | false |
echoCTF/echoCTF.RED | https://github.com/echoCTF/echoCTF.RED/blob/842f644a0b15af85ba5ffda841b32b40121c3063/backend/modules/sales/views/player-product/update.php | backend/modules/sales/views/player-product/update.php | <?php
use yii\helpers\Html;
/** @var yii\web\View $this */
/** @var app\modules\sales\models\PlayerProduct $model */
$this->title = Yii::t('app', 'Update Player Product: {name}', [
'name' => $model->id,
]);
$this->params['breadcrumbs'][] = ['label' => Yii::t('app', 'Player Products'), 'url' => ['index']];
$this-... | php | BSD-2-Clause | 842f644a0b15af85ba5ffda841b32b40121c3063 | 2026-01-05T04:18:44.767387Z | false |
echoCTF/echoCTF.RED | https://github.com/echoCTF/echoCTF.RED/blob/842f644a0b15af85ba5ffda841b32b40121c3063/backend/modules/sales/views/player-product/create.php | backend/modules/sales/views/player-product/create.php | <?php
use yii\helpers\Html;
/** @var yii\web\View $this */
/** @var app\modules\sales\models\PlayerProduct $model */
$this->title = Yii::t('app', 'Create Player Product');
$this->params['breadcrumbs'][] = ['label' => Yii::t('app', 'Player Products'), 'url' => ['index']];
$this->params['breadcrumbs'][] = $this->title... | php | BSD-2-Clause | 842f644a0b15af85ba5ffda841b32b40121c3063 | 2026-01-05T04:18:44.767387Z | false |
echoCTF/echoCTF.RED | https://github.com/echoCTF/echoCTF.RED/blob/842f644a0b15af85ba5ffda841b32b40121c3063/backend/modules/sales/views/product/_form.php | backend/modules/sales/views/product/_form.php | <?php
use yii\helpers\Html;
use yii\widgets\ActiveForm;
/* @var $this yii\web\View */
/* @var $model app\modules\sales\models\Product */
/* @var $form yii\widgets\ActiveForm */
?>
<div class="product-form">
<?php $form = ActiveForm::begin(); ?>
<?= $form->field($model, 'id')->textInput(['maxlength' => true... | php | BSD-2-Clause | 842f644a0b15af85ba5ffda841b32b40121c3063 | 2026-01-05T04:18:44.767387Z | false |
echoCTF/echoCTF.RED | https://github.com/echoCTF/echoCTF.RED/blob/842f644a0b15af85ba5ffda841b32b40121c3063/backend/modules/sales/views/product/view.php | backend/modules/sales/views/product/view.php | <?php
use yii\helpers\Html;
use yii\widgets\DetailView;
/* @var $this yii\web\View */
/* @var $model app\modules\sales\models\Product */
$this->title = $model->name;
$this->params['breadcrumbs'][] = ['label' => Yii::t('app', 'Sales'), 'url' => ['/sales/default/index']];
$this->params['breadcrumbs'][] = ['label' => Y... | php | BSD-2-Clause | 842f644a0b15af85ba5ffda841b32b40121c3063 | 2026-01-05T04:18:44.767387Z | false |
echoCTF/echoCTF.RED | https://github.com/echoCTF/echoCTF.RED/blob/842f644a0b15af85ba5ffda841b32b40121c3063/backend/modules/sales/views/product/index.php | backend/modules/sales/views/product/index.php | <?php
use yii\helpers\Html;
use yii\grid\GridView;
/* @var $this yii\web\View */
/* @var $searchModel app\modules\sales\models\ProductSearch */
/* @var $dataProvider yii\data\ActiveDataProvider */
$this->title = Yii::t('app', 'Products');
$this->params['breadcrumbs'][] = ['label' => Yii::t('app', 'Sales'), 'url' => ... | php | BSD-2-Clause | 842f644a0b15af85ba5ffda841b32b40121c3063 | 2026-01-05T04:18:44.767387Z | false |
echoCTF/echoCTF.RED | https://github.com/echoCTF/echoCTF.RED/blob/842f644a0b15af85ba5ffda841b32b40121c3063/backend/modules/sales/views/product/_search.php | backend/modules/sales/views/product/_search.php | <?php
use yii\helpers\Html;
use yii\widgets\ActiveForm;
/* @var $this yii\web\View */
/* @var $model app\modules\sales\models\ProductSearch */
/* @var $form yii\widgets\ActiveForm */
?>
<div class="product-search">
<?php $form = ActiveForm::begin([
'action' => ['index'],
'method' => 'get',
]... | php | BSD-2-Clause | 842f644a0b15af85ba5ffda841b32b40121c3063 | 2026-01-05T04:18:44.767387Z | false |
echoCTF/echoCTF.RED | https://github.com/echoCTF/echoCTF.RED/blob/842f644a0b15af85ba5ffda841b32b40121c3063/backend/modules/sales/views/product/update.php | backend/modules/sales/views/product/update.php | <?php
use yii\helpers\Html;
/* @var $this yii\web\View */
/* @var $model app\modules\sales\models\Product */
$this->title = Yii::t('app', 'Update Product: {name}', [
'name' => $model->name,
]);
$this->params['breadcrumbs'][] = ['label' => Yii::t('app', 'Sales'), 'url' => ['/sales/default/index']];
$this->params[... | php | BSD-2-Clause | 842f644a0b15af85ba5ffda841b32b40121c3063 | 2026-01-05T04:18:44.767387Z | false |
echoCTF/echoCTF.RED | https://github.com/echoCTF/echoCTF.RED/blob/842f644a0b15af85ba5ffda841b32b40121c3063/backend/modules/sales/views/product/create.php | backend/modules/sales/views/product/create.php | <?php
use yii\helpers\Html;
/* @var $this yii\web\View */
/* @var $model app\modules\sales\models\Product */
$this->title = Yii::t('app', 'Create Product');
$this->params['breadcrumbs'][] = ['label' => Yii::t('app', 'Sales'), 'url' => ['/sales/default/index']];
$this->params['breadcrumbs'][] = ['label' => Yii::t('ap... | php | BSD-2-Clause | 842f644a0b15af85ba5ffda841b32b40121c3063 | 2026-01-05T04:18:44.767387Z | false |
echoCTF/echoCTF.RED | https://github.com/echoCTF/echoCTF.RED/blob/842f644a0b15af85ba5ffda841b32b40121c3063/backend/modules/sales/views/player-subscription/_form.php | backend/modules/sales/views/player-subscription/_form.php | <?php
use yii\helpers\Html;
use yii\widgets\ActiveForm;
use app\widgets\sleifer\autocompleteAjax\AutocompleteAjax;
/* @var $this yii\web\View */
/* @var $model app\modules\sales\models\PlayerSubscription */
/* @var $form yii\widgets\ActiveForm */
?>
<div class="player-subscription-form">
<?php $form = ActiveFor... | php | BSD-2-Clause | 842f644a0b15af85ba5ffda841b32b40121c3063 | 2026-01-05T04:18:44.767387Z | false |
echoCTF/echoCTF.RED | https://github.com/echoCTF/echoCTF.RED/blob/842f644a0b15af85ba5ffda841b32b40121c3063/backend/modules/sales/views/player-subscription/view.php | backend/modules/sales/views/player-subscription/view.php | <?php
use yii\helpers\Html;
use yii\widgets\DetailView;
/* @var $this yii\web\View */
/* @var $model app\modules\sales\models\PlayerSubscription */
$this->title = $model->player_id;
$this->params['breadcrumbs'][] = ['label' => Yii::t('app', 'Sales'), 'url' => ['/sales/default/index']];
$this->params['breadcrumbs'][]... | php | BSD-2-Clause | 842f644a0b15af85ba5ffda841b32b40121c3063 | 2026-01-05T04:18:44.767387Z | false |
echoCTF/echoCTF.RED | https://github.com/echoCTF/echoCTF.RED/blob/842f644a0b15af85ba5ffda841b32b40121c3063/backend/modules/sales/views/player-subscription/index.php | backend/modules/sales/views/player-subscription/index.php | <?php
use yii\helpers\Html;
use yii\grid\GridView;
use yii\widgets\Pjax;
use yii\grid\ActionColumn;
/* @var $this yii\web\View */
/* @var $searchModel app\modules\sales\models\PlayerSubscriptionSearch */
/* @var $dataProvider yii\data\ActiveDataProvider */
$this->title = Yii::t('app', 'Player Subscriptions');
$this-... | php | BSD-2-Clause | 842f644a0b15af85ba5ffda841b32b40121c3063 | 2026-01-05T04:18:44.767387Z | false |
echoCTF/echoCTF.RED | https://github.com/echoCTF/echoCTF.RED/blob/842f644a0b15af85ba5ffda841b32b40121c3063/backend/modules/sales/views/player-subscription/_search.php | backend/modules/sales/views/player-subscription/_search.php | <?php
use yii\helpers\Html;
use yii\widgets\ActiveForm;
/* @var $this yii\web\View */
/* @var $model app\modules\sales\models\PlayerSubscriptionSearch */
/* @var $form yii\widgets\ActiveForm */
?>
<div class="player-subscription-search">
<?php $form = ActiveForm::begin([
'action' => ['index'],
'... | php | BSD-2-Clause | 842f644a0b15af85ba5ffda841b32b40121c3063 | 2026-01-05T04:18:44.767387Z | false |
echoCTF/echoCTF.RED | https://github.com/echoCTF/echoCTF.RED/blob/842f644a0b15af85ba5ffda841b32b40121c3063/backend/modules/sales/views/player-subscription/update.php | backend/modules/sales/views/player-subscription/update.php | <?php
use yii\helpers\Html;
/* @var $this yii\web\View */
/* @var $model app\modules\sales\models\PlayerSubscription */
$this->title = Yii::t('app', 'Update Player Subscription: {name}', [
'name' => $model->player_id,
]);
$this->params['breadcrumbs'][] = ['label' => Yii::t('app', 'Sales'), 'url' => ['/sales/def... | php | BSD-2-Clause | 842f644a0b15af85ba5ffda841b32b40121c3063 | 2026-01-05T04:18:44.767387Z | false |
echoCTF/echoCTF.RED | https://github.com/echoCTF/echoCTF.RED/blob/842f644a0b15af85ba5ffda841b32b40121c3063/backend/modules/sales/views/player-subscription/create.php | backend/modules/sales/views/player-subscription/create.php | <?php
use yii\helpers\Html;
/* @var $this yii\web\View */
/* @var $model app\modules\sales\models\PlayerSubscription */
$this->title = Yii::t('app', 'Create Player Subscription');
$this->params['breadcrumbs'][] = ['label' => Yii::t('app', 'Sales'), 'url' => ['/sales/default/index']];
$this->params['breadcrumbs'][] =... | php | BSD-2-Clause | 842f644a0b15af85ba5ffda841b32b40121c3063 | 2026-01-05T04:18:44.767387Z | false |
echoCTF/echoCTF.RED | https://github.com/echoCTF/echoCTF.RED/blob/842f644a0b15af85ba5ffda841b32b40121c3063/backend/modules/sales/views/stripe-webhook/_form.php | backend/modules/sales/views/stripe-webhook/_form.php | <?php
use yii\helpers\Html;
use yii\widgets\ActiveForm;
/* @var $this yii\web\View */
/* @var $model app\modules\sales\models\StripeWebhook */
/* @var $form yii\widgets\ActiveForm */
?>
<div class="stripe-webhook-form">
<?php $form = ActiveForm::begin(); ?>
<?= $form->field($model, 'type')->textInput(['max... | php | BSD-2-Clause | 842f644a0b15af85ba5ffda841b32b40121c3063 | 2026-01-05T04:18:44.767387Z | false |
echoCTF/echoCTF.RED | https://github.com/echoCTF/echoCTF.RED/blob/842f644a0b15af85ba5ffda841b32b40121c3063/backend/modules/sales/views/stripe-webhook/view.php | backend/modules/sales/views/stripe-webhook/view.php | <?php
use yii\helpers\Html;
use yii\widgets\DetailView;
/* @var $this yii\web\View */
/* @var $model app\modules\sales\models\StripeWebhook */
$this->title = $model->id;
$this->params['breadcrumbs'][] = ['label' => Yii::t('app', 'Sales'), 'url' => ['/sales/default/index']];
$this->params['breadcrumbs'][] = ['label' ... | php | BSD-2-Clause | 842f644a0b15af85ba5ffda841b32b40121c3063 | 2026-01-05T04:18:44.767387Z | false |
echoCTF/echoCTF.RED | https://github.com/echoCTF/echoCTF.RED/blob/842f644a0b15af85ba5ffda841b32b40121c3063/backend/modules/sales/views/stripe-webhook/index.php | backend/modules/sales/views/stripe-webhook/index.php | <?php
use yii\helpers\Html;
use yii\grid\GridView;
use yii\widgets\Pjax;
/* @var $this yii\web\View */
/* @var $searchModel app\modules\sales\models\StripeWebhookSearch */
/* @var $dataProvider yii\data\ActiveDataProvider */
$this->title = Yii::t('app', 'Stripe Webhooks');
$this->params['breadcrumbs'][] = ['label' =>... | php | BSD-2-Clause | 842f644a0b15af85ba5ffda841b32b40121c3063 | 2026-01-05T04:18:44.767387Z | false |
echoCTF/echoCTF.RED | https://github.com/echoCTF/echoCTF.RED/blob/842f644a0b15af85ba5ffda841b32b40121c3063/backend/modules/sales/views/stripe-webhook/_search.php | backend/modules/sales/views/stripe-webhook/_search.php | <?php
use yii\helpers\Html;
use yii\widgets\ActiveForm;
/* @var $this yii\web\View */
/* @var $model app\modules\sales\models\StripeWebhookSearch */
/* @var $form yii\widgets\ActiveForm */
?>
<div class="stripe-webhook-search">
<?php $form = ActiveForm::begin([
'action' => ['index'],
'method' =>... | php | BSD-2-Clause | 842f644a0b15af85ba5ffda841b32b40121c3063 | 2026-01-05T04:18:44.767387Z | false |
echoCTF/echoCTF.RED | https://github.com/echoCTF/echoCTF.RED/blob/842f644a0b15af85ba5ffda841b32b40121c3063/backend/modules/sales/views/stripe-webhook/update.php | backend/modules/sales/views/stripe-webhook/update.php | <?php
use yii\helpers\Html;
/* @var $this yii\web\View */
/* @var $model app\modules\sales\models\StripeWebhook */
$this->title = Yii::t('app', 'Update Stripe Webhook: {name}', [
'name' => $model->id,
]);
$this->params['breadcrumbs'][] = ['label' => Yii::t('app', 'Sales'), 'url' => ['/sales/default/index']];
$th... | php | BSD-2-Clause | 842f644a0b15af85ba5ffda841b32b40121c3063 | 2026-01-05T04:18:44.767387Z | false |
echoCTF/echoCTF.RED | https://github.com/echoCTF/echoCTF.RED/blob/842f644a0b15af85ba5ffda841b32b40121c3063/backend/modules/sales/views/stripe-webhook/create.php | backend/modules/sales/views/stripe-webhook/create.php | <?php
use yii\helpers\Html;
/* @var $this yii\web\View */
/* @var $model app\modules\sales\models\StripeWebhook */
$this->title = Yii::t('app', 'Create Stripe Webhook');
$this->params['breadcrumbs'][] = ['label' => Yii::t('app', 'Sales'), 'url' => ['/sales/default/index']];
$this->params['breadcrumbs'][] = ['label' ... | php | BSD-2-Clause | 842f644a0b15af85ba5ffda841b32b40121c3063 | 2026-01-05T04:18:44.767387Z | false |
echoCTF/echoCTF.RED | https://github.com/echoCTF/echoCTF.RED/blob/842f644a0b15af85ba5ffda841b32b40121c3063/backend/modules/sales/views/price/_form.php | backend/modules/sales/views/price/_form.php | <?php
use yii\helpers\Html;
use yii\widgets\ActiveForm;
use app\widgets\sleifer\autocompleteAjax\AutocompleteAjax;
/* @var $this yii\web\View */
/* @var $model app\modules\sales\models\Price */
/* @var $form yii\widgets\ActiveForm */
?>
<div class="price-form">
<?php $form = ActiveForm::begin(); ?>
<?= $fo... | php | BSD-2-Clause | 842f644a0b15af85ba5ffda841b32b40121c3063 | 2026-01-05T04:18:44.767387Z | false |
echoCTF/echoCTF.RED | https://github.com/echoCTF/echoCTF.RED/blob/842f644a0b15af85ba5ffda841b32b40121c3063/backend/modules/sales/views/price/view.php | backend/modules/sales/views/price/view.php | <?php
use yii\helpers\Html;
use yii\widgets\DetailView;
/* @var $this yii\web\View */
/* @var $model app\modules\sales\models\Price */
$this->title = $model->id;
$this->params['breadcrumbs'][] = ['label' => Yii::t('app', 'Sales'), 'url' => ['/sales/default/index']];
$this->params['breadcrumbs'][] = ['label' => Yii:... | php | BSD-2-Clause | 842f644a0b15af85ba5ffda841b32b40121c3063 | 2026-01-05T04:18:44.767387Z | false |
echoCTF/echoCTF.RED | https://github.com/echoCTF/echoCTF.RED/blob/842f644a0b15af85ba5ffda841b32b40121c3063/backend/modules/sales/views/price/index.php | backend/modules/sales/views/price/index.php | <?php
use yii\helpers\Html;
use yii\grid\GridView;
/* @var $this yii\web\View */
/* @var $searchModel app\modules\sales\models\PriceSearch */
/* @var $dataProvider yii\data\ActiveDataProvider */
$this->title = Yii::t('app', 'Prices');
$this->params['breadcrumbs'][] = ['label' => Yii::t('app', 'Sales'), 'url' => ['/s... | php | BSD-2-Clause | 842f644a0b15af85ba5ffda841b32b40121c3063 | 2026-01-05T04:18:44.767387Z | false |
echoCTF/echoCTF.RED | https://github.com/echoCTF/echoCTF.RED/blob/842f644a0b15af85ba5ffda841b32b40121c3063/backend/modules/sales/views/price/_search.php | backend/modules/sales/views/price/_search.php | <?php
use yii\helpers\Html;
use yii\widgets\ActiveForm;
/* @var $this yii\web\View */
/* @var $model app\modules\sales\models\ProductSearch */
/* @var $form yii\widgets\ActiveForm */
?>
<div class="product-search">
<?php $form = ActiveForm::begin([
'action' => ['index'],
'method' => 'get',
]... | php | BSD-2-Clause | 842f644a0b15af85ba5ffda841b32b40121c3063 | 2026-01-05T04:18:44.767387Z | false |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.