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/frontend/modules/game/models/BadgeQuery.php | frontend/modules/game/models/BadgeQuery.php | <?php
namespace app\modules\game\models;
/**
* This is the ActiveQuery class for [[Badge]].
*
* @see Badge
*/
class BadgeQuery extends \yii\db\ActiveQuery
{
/**
* {@inheritdoc}
* return Badge[]|array
*/
public function received_by(int $player_id)
{
return $this->andWhere('id in ... | php | BSD-2-Clause | 842f644a0b15af85ba5ffda841b32b40121c3063 | 2026-01-05T04:18:44.767387Z | false |
echoCTF/echoCTF.RED | https://github.com/echoCTF/echoCTF.RED/blob/842f644a0b15af85ba5ffda841b32b40121c3063/frontend/modules/game/models/PlayerScoreMonthly.php | frontend/modules/game/models/PlayerScoreMonthly.php | <?php
namespace app\modules\game\models;
use Yii;
use yii\behaviors\AttributeTypecastBehavior;
use app\models\Player;
/**
* This is the model class for table "player_score_monthly".
*
* @property int $player_id
* @property int $dated_at
* @property int $points
* @property string $ts
*/
class PlayerScoreMonthl... | php | BSD-2-Clause | 842f644a0b15af85ba5ffda841b32b40121c3063 | 2026-01-05T04:18:44.767387Z | false |
echoCTF/echoCTF.RED | https://github.com/echoCTF/echoCTF.RED/blob/842f644a0b15af85ba5ffda841b32b40121c3063/frontend/modules/game/models/HeadshotQuery.php | frontend/modules/game/models/HeadshotQuery.php | <?php
namespace app\modules\game\models;
/**
* This is the ActiveQuery class for [[Headshot]].
*
* @see Headshot
*/
class HeadshotQuery extends \yii\db\ActiveQuery
{
public function timed()
{
return $this->joinWith(['target'])->andWhere(['t.timer' => 1])->andWhere(['>', 'headshot.timer', 0]);
}
publ... | php | BSD-2-Clause | 842f644a0b15af85ba5ffda841b32b40121c3063 | 2026-01-05T04:18:44.767387Z | false |
echoCTF/echoCTF.RED | https://github.com/echoCTF/echoCTF.RED/blob/842f644a0b15af85ba5ffda841b32b40121c3063/frontend/modules/game/models/WriteupRatingQuery.php | frontend/modules/game/models/WriteupRatingQuery.php | <?php
namespace app\modules\game\models;
/**
* This is the ActiveQuery class for [[WriteupRating]].
*
* @see WriteupRating
*/
class WriteupRatingQuery extends \yii\db\ActiveQuery
{
/*public function active()
{
return $this->andWhere('[[status]]=1');
}*/
/**
* {@inheritdoc}
* @re... | php | BSD-2-Clause | 842f644a0b15af85ba5ffda841b32b40121c3063 | 2026-01-05T04:18:44.767387Z | false |
echoCTF/echoCTF.RED | https://github.com/echoCTF/echoCTF.RED/blob/842f644a0b15af85ba5ffda841b32b40121c3063/frontend/modules/game/models/PlayerScoreMonthlyQuery.php | frontend/modules/game/models/PlayerScoreMonthlyQuery.php | <?php
namespace app\modules\game\models;
/**
* This is the ActiveQuery class for [[PlayerScore]].
*
* @see PlayerScore
*/
class PlayerScoreMonthlyQuery extends \yii\db\ActiveQuery
{
public function active()
{
return $this->joinWith('player')->where(['player.status'=>\app\models\Player::STATUS_ACTIVE... | php | BSD-2-Clause | 842f644a0b15af85ba5ffda841b32b40121c3063 | 2026-01-05T04:18:44.767387Z | false |
echoCTF/echoCTF.RED | https://github.com/echoCTF/echoCTF.RED/blob/842f644a0b15af85ba5ffda841b32b40121c3063/frontend/modules/game/models/Headshot.php | frontend/modules/game/models/Headshot.php | <?php
namespace app\modules\game\models;
use Yii;
use yii\behaviors\TimestampBehavior;
use yii\db\ActiveRecord;
use yii\db\Expression;
use app\models\Player;
use app\modules\target\models\Target;
use app\modules\target\models\Writeup;
use yii\behaviors\AttributeTypecastBehavior;
/**
* This is the model class for ta... | php | BSD-2-Clause | 842f644a0b15af85ba5ffda841b32b40121c3063 | 2026-01-05T04:18:44.767387Z | false |
echoCTF/echoCTF.RED | https://github.com/echoCTF/echoCTF.RED/blob/842f644a0b15af85ba5ffda841b32b40121c3063/frontend/modules/game/models/WriteupRatingSearch.php | frontend/modules/game/models/WriteupRatingSearch.php | <?php
namespace app\modules\game\models;
use yii\base\Model;
use yii\data\ActiveDataProvider;
use app\modules\activity\models\WriteupRating;
/**
* WriteupRatingSearch represents the model behind the search form of `app\modules\activity\models\WriteupRating`.
*/
class WriteupRatingSearch extends WriteupRating
{
... | php | BSD-2-Clause | 842f644a0b15af85ba5ffda841b32b40121c3063 | 2026-01-05T04:18:44.767387Z | false |
echoCTF/echoCTF.RED | https://github.com/echoCTF/echoCTF.RED/blob/842f644a0b15af85ba5ffda841b32b40121c3063/frontend/modules/game/models/Badge.php | frontend/modules/game/models/Badge.php | <?php
namespace app\modules\game\models;
use Yii;
use yii\behaviors\AttributeTypecastBehavior;
/**
* This is the model class for table "badge".
*
* @property int $id
* @property string|null $name
* @property string|null $pubname Name for the public eyes
* @property string|null $description
* @property string|... | php | BSD-2-Clause | 842f644a0b15af85ba5ffda841b32b40121c3063 | 2026-01-05T04:18:44.767387Z | false |
echoCTF/echoCTF.RED | https://github.com/echoCTF/echoCTF.RED/blob/842f644a0b15af85ba5ffda841b32b40121c3063/frontend/modules/network/Module.php | frontend/modules/network/Module.php | <?php
namespace app\modules\network;
use app\modules\network\models\NetworkPlayer;
/**
* network module definition class
*/
class Module extends \yii\base\Module
{
/**
* {@inheritdoc}
*/
public $controllerNamespace='app\modules\network\controllers';
/**
* {@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/frontend/modules/network/controllers/DefaultController.php | frontend/modules/network/controllers/DefaultController.php | <?php
namespace app\modules\network\controllers;
use Yii;
use app\modules\network\models\Network;
use yii\base\UserException;
use yii\web\Controller;
use yii\web\NotFoundHttpException;
use yii\filters\VerbFilter;
use yii\data\ActiveDataProvider;
use app\overloads\yii\filters\AccessControl;
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/frontend/modules/network/controllers/PrivateController.php | frontend/modules/network/controllers/PrivateController.php | <?php
namespace app\modules\network\controllers;
use Yii;
use app\modules\network\models\Network;
use app\modules\network\models\PrivateNetwork;
use app\modules\network\models\PrivateNetworkTarget;
use app\modules\team\models\TeamPlayer;
use yii\base\UserException;
use yii\web\Controller;
use yii\web\NotFoundHttpExce... | php | BSD-2-Clause | 842f644a0b15af85ba5ffda841b32b40121c3063 | 2026-01-05T04:18:44.767387Z | false |
echoCTF/echoCTF.RED | https://github.com/echoCTF/echoCTF.RED/blob/842f644a0b15af85ba5ffda841b32b40121c3063/frontend/modules/network/models/NetworkTarget.php | frontend/modules/network/models/NetworkTarget.php | <?php
namespace app\modules\network\models;
use Yii;
use \app\modules\target\models\Target;
/**
* This is the model class for table "network_target".
*
* @property int $network_id
* @property int $target_id
* @property string|null $created_at
* @property string|null $updated_at
* @property int|null $weight
*
... | php | BSD-2-Clause | 842f644a0b15af85ba5ffda841b32b40121c3063 | 2026-01-05T04:18:44.767387Z | false |
echoCTF/echoCTF.RED | https://github.com/echoCTF/echoCTF.RED/blob/842f644a0b15af85ba5ffda841b32b40121c3063/frontend/modules/network/models/NetworkPlayer.php | frontend/modules/network/models/NetworkPlayer.php | <?php
namespace app\modules\network\models;
use Yii;
/**
* This is the model class for table "network_player".
*
* @property int $network_id
* @property int $player_id
* @property string|null $created_at
* @property string|null $updated_at
*
* @property Network $network
* @property Player $player
*/
class ... | php | BSD-2-Clause | 842f644a0b15af85ba5ffda841b32b40121c3063 | 2026-01-05T04:18:44.767387Z | false |
echoCTF/echoCTF.RED | https://github.com/echoCTF/echoCTF.RED/blob/842f644a0b15af85ba5ffda841b32b40121c3063/frontend/modules/network/models/NetworkTargetQuery.php | frontend/modules/network/models/NetworkTargetQuery.php | <?php
namespace app\modules\network\models;
/**
* This is the ActiveQuery class for [[NetworkTarget]].
*
* @see NetworkTarget
*/
class NetworkTargetQuery 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/frontend/modules/network/models/Network.php | frontend/modules/network/models/Network.php | <?php
namespace app\modules\network\models;
use Yii;
use app\models\Player;
/**
* This is the model class for table "network".
*
* @property int $id
* @property string $name
* @property string $icon
* @property string $description
* @property int $active
* @property string $ts
*
* @property int targetsCoun... | php | BSD-2-Clause | 842f644a0b15af85ba5ffda841b32b40121c3063 | 2026-01-05T04:18:44.767387Z | false |
echoCTF/echoCTF.RED | https://github.com/echoCTF/echoCTF.RED/blob/842f644a0b15af85ba5ffda841b32b40121c3063/frontend/modules/network/models/PrivateNetworkTargetSearch.php | frontend/modules/network/models/PrivateNetworkTargetSearch.php | <?php
namespace app\modules\network\models;
use yii\base\Model;
use yii\data\ActiveDataProvider;
use app\modules\network\models\PrivateNetworkTarget;
/**
* PrivateNetworkTargetSearch represents the model behind the search form of `app\modules\network\models\PrivateNetworkTarget`.
*/
class PrivateNetworkTargetSearc... | php | BSD-2-Clause | 842f644a0b15af85ba5ffda841b32b40121c3063 | 2026-01-05T04:18:44.767387Z | false |
echoCTF/echoCTF.RED | https://github.com/echoCTF/echoCTF.RED/blob/842f644a0b15af85ba5ffda841b32b40121c3063/frontend/modules/network/models/PrivateNetwork.php | frontend/modules/network/models/PrivateNetwork.php | <?php
namespace app\modules\network\models;
use Yii;
use app\models\Player;
use yii\behaviors\TimestampBehavior;
use yii\db\Expression;
use app\modules\target\models\Target;
/**
* This is the model class for table "private_network".
*
* @property int $id
* @property int|null $player_id
* @property string|null $... | php | BSD-2-Clause | 842f644a0b15af85ba5ffda841b32b40121c3063 | 2026-01-05T04:18:44.767387Z | false |
echoCTF/echoCTF.RED | https://github.com/echoCTF/echoCTF.RED/blob/842f644a0b15af85ba5ffda841b32b40121c3063/frontend/modules/network/models/PrivateNetworkTargetQuery.php | frontend/modules/network/models/PrivateNetworkTargetQuery.php | <?php
namespace app\modules\network\models;
/**
* This is the ActiveQuery class for [[PrivateNetworkTarget]].
*
* @see PrivateNetworkTarget
*/
class PrivateNetworkTargetQuery 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/frontend/modules/network/models/NetworkTargetScheduleQuery.php | frontend/modules/network/models/NetworkTargetScheduleQuery.php | <?php
namespace app\modules\network\models;
/**
* This is the ActiveQuery class for [[NetworkTargetSchedule]].
*
* @see NetworkTargetSchedule
*/
class NetworkTargetScheduleQuery extends \yii\db\ActiveQuery
{
public function pending()
{
return $this->orderBy(['migration_date'=>SORT_ASC,'network_id'... | php | BSD-2-Clause | 842f644a0b15af85ba5ffda841b32b40121c3063 | 2026-01-05T04:18:44.767387Z | false |
echoCTF/echoCTF.RED | https://github.com/echoCTF/echoCTF.RED/blob/842f644a0b15af85ba5ffda841b32b40121c3063/frontend/modules/network/models/PrivateNetworkTarget.php | frontend/modules/network/models/PrivateNetworkTarget.php | <?php
namespace app\modules\network\models;
use app\modules\target\models\Target;
use Yii;
/**
* This is the model class for table "private_network_target".
*
* @property int $id
* @property int|null $private_network_id
* @property int|null $target_id
*
* @property PrivateNetwork $privateNetwork
* @property ... | php | BSD-2-Clause | 842f644a0b15af85ba5ffda841b32b40121c3063 | 2026-01-05T04:18:44.767387Z | false |
echoCTF/echoCTF.RED | https://github.com/echoCTF/echoCTF.RED/blob/842f644a0b15af85ba5ffda841b32b40121c3063/frontend/modules/network/models/NetworkTargetSchedule.php | frontend/modules/network/models/NetworkTargetSchedule.php | <?php
namespace app\modules\network\models;
use Yii;
use app\modules\target\models\Target;
use yii\behaviors\TimestampBehavior;
use yii\db\Expression;
/**
* This is the model class for table "network_target_schedule".
*
* @property int $id
* @property int $target_id
* @property int $network_id
* @property stri... | php | BSD-2-Clause | 842f644a0b15af85ba5ffda841b32b40121c3063 | 2026-01-05T04:18:44.767387Z | false |
echoCTF/echoCTF.RED | https://github.com/echoCTF/echoCTF.RED/blob/842f644a0b15af85ba5ffda841b32b40121c3063/frontend/modules/network/models/NetworkQuery.php | frontend/modules/network/models/NetworkQuery.php | <?php
namespace app\modules\network\models;
/**
* This is the ActiveQuery class for [[Network]].
*
* @see Network
*/
class NetworkQuery extends \yii\db\ActiveQuery
{
public function active()
{
return $this->andWhere('[[active]]=1');
}
/**
* {@inheritdoc}
* @return Network[]|arra... | php | BSD-2-Clause | 842f644a0b15af85ba5ffda841b32b40121c3063 | 2026-01-05T04:18:44.767387Z | false |
echoCTF/echoCTF.RED | https://github.com/echoCTF/echoCTF.RED/blob/842f644a0b15af85ba5ffda841b32b40121c3063/frontend/modules/network/models/NetworkPlayerQuery.php | frontend/modules/network/models/NetworkPlayerQuery.php | <?php
namespace app\modules\network\models;
/**
* This is the ActiveQuery class for [[NetworkPlayer]].
*
* @see NetworkPlayer
*/
class NetworkPlayerQuery 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/frontend/modules/network/models/PrivateNetworkSearch.php | frontend/modules/network/models/PrivateNetworkSearch.php | <?php
namespace app\modules\network\models;
use yii\base\Model;
use yii\data\ActiveDataProvider;
use app\modules\network\models\PrivateNetwork;
/**
* PrivateNetworkSearch represents the model behind the search form of `app\modules\network\models\PrivateNetwork`.
*/
class PrivateNetworkSearch extends PrivateNetwork... | php | BSD-2-Clause | 842f644a0b15af85ba5ffda841b32b40121c3063 | 2026-01-05T04:18:44.767387Z | false |
echoCTF/echoCTF.RED | https://github.com/echoCTF/echoCTF.RED/blob/842f644a0b15af85ba5ffda841b32b40121c3063/frontend/modules/network/models/PrivateNetworkQuery.php | frontend/modules/network/models/PrivateNetworkQuery.php | <?php
namespace app\modules\network\models;
/**
* This is the ActiveQuery class for [[PrivateNetwork]].
*
* @see PrivateNetwork
*/
class PrivateNetworkQuery extends \yii\db\ActiveQuery
{
public function forTeam($id)
{
return $this->andWhere('player_id IN (SELECT player_id FROM team_player WHERE team_id=:i... | php | BSD-2-Clause | 842f644a0b15af85ba5ffda841b32b40121c3063 | 2026-01-05T04:18:44.767387Z | false |
echoCTF/echoCTF.RED | https://github.com/echoCTF/echoCTF.RED/blob/842f644a0b15af85ba5ffda841b32b40121c3063/frontend/modules/challenge/Module.php | frontend/modules/challenge/Module.php | <?php
namespace app\modules\challenge;
/**
* challenge module definition class
*/
class Module extends \yii\base\Module
{
/**
* {@inheritdoc}
*/
public $controllerNamespace='app\modules\challenge\controllers';
/**
* {@inheritdoc}
*/
public function init()
{
parent::i... | php | BSD-2-Clause | 842f644a0b15af85ba5ffda841b32b40121c3063 | 2026-01-05T04:18:44.767387Z | false |
echoCTF/echoCTF.RED | https://github.com/echoCTF/echoCTF.RED/blob/842f644a0b15af85ba5ffda841b32b40121c3063/frontend/modules/challenge/controllers/DefaultController.php | frontend/modules/challenge/controllers/DefaultController.php | <?php
namespace app\modules\challenge\controllers;
use Yii;
use app\modules\challenge\models\Challenge;
use app\modules\challenge\models\ChallengeSolver;
use app\modules\challenge\models\Question;
use app\modules\challenge\models\ChallengeSearch;
use yii\web\Controller;
use yii\web\NotFoundHttpException;
use yii\filt... | php | BSD-2-Clause | 842f644a0b15af85ba5ffda841b32b40121c3063 | 2026-01-05T04:18:44.767387Z | false |
echoCTF/echoCTF.RED | https://github.com/echoCTF/echoCTF.RED/blob/842f644a0b15af85ba5ffda841b32b40121c3063/frontend/modules/challenge/models/AnswerForm.php | frontend/modules/challenge/models/AnswerForm.php | <?php
namespace app\modules\challenge\models;
use Yii;
use yii\base\Model;
/**
* ContactForm is the model behind the contact form.
* @property Question $question
*/
class AnswerForm extends Model
{
public $answer;
public $points;
protected $_question;
/**
* @return array the validation rules... | php | BSD-2-Clause | 842f644a0b15af85ba5ffda841b32b40121c3063 | 2026-01-05T04:18:44.767387Z | false |
echoCTF/echoCTF.RED | https://github.com/echoCTF/echoCTF.RED/blob/842f644a0b15af85ba5ffda841b32b40121c3063/frontend/modules/challenge/models/Challenge.php | frontend/modules/challenge/models/Challenge.php | <?php
namespace app\modules\challenge\models;
use Yii;
use yii\behaviors\AttributeTypecastBehavior;
/**
* This is the model class for table "challenge".
*
* @property int $id
* @property string|null $name
* @property string|null $category
* @property string|null $difficulty
* @property string|null $descriptio... | php | BSD-2-Clause | 842f644a0b15af85ba5ffda841b32b40121c3063 | 2026-01-05T04:18:44.767387Z | false |
echoCTF/echoCTF.RED | https://github.com/echoCTF/echoCTF.RED/blob/842f644a0b15af85ba5ffda841b32b40121c3063/frontend/modules/challenge/models/ChallengeSolverQuery.php | frontend/modules/challenge/models/ChallengeSolverQuery.php | <?php
namespace app\modules\challenge\models;
/**
* This is the ActiveQuery class for [[ChallengeSolver]].
*
* @see ChallengeSolver
*/
class ChallengeSolverQuery extends \yii\db\ActiveQuery
{
public function academic($academic)
{
if (\Yii::$app->sys->academic_grouping !== false)
return $this->joinWi... | php | BSD-2-Clause | 842f644a0b15af85ba5ffda841b32b40121c3063 | 2026-01-05T04:18:44.767387Z | false |
echoCTF/echoCTF.RED | https://github.com/echoCTF/echoCTF.RED/blob/842f644a0b15af85ba5ffda841b32b40121c3063/frontend/modules/challenge/models/ChallengeSolver.php | frontend/modules/challenge/models/ChallengeSolver.php | <?php
namespace app\modules\challenge\models;
use Yii;
use app\models\Player;
use yii\behaviors\AttributeTypecastBehavior;
use yii\db\Expression;
/**
* This is the model class for table "player_question".
*
* @property int $id
* @property int $challenge_id
* @property int|null $player_id
* @property float|null... | php | BSD-2-Clause | 842f644a0b15af85ba5ffda841b32b40121c3063 | 2026-01-05T04:18:44.767387Z | false |
echoCTF/echoCTF.RED | https://github.com/echoCTF/echoCTF.RED/blob/842f644a0b15af85ba5ffda841b32b40121c3063/frontend/modules/challenge/models/ChallengeQuery.php | frontend/modules/challenge/models/ChallengeQuery.php | <?php
namespace app\modules\challenge\models;
/**
* This is the ActiveQuery class for [[Challenge]].
*
* @see Challenge
*/
class ChallengeQuery extends \yii\db\ActiveQuery
{
public function timed()
{
return $this->andWhere(['t.timer'=>1]);
}
public function active()
{
return $thi... | php | BSD-2-Clause | 842f644a0b15af85ba5ffda841b32b40121c3063 | 2026-01-05T04:18:44.767387Z | false |
echoCTF/echoCTF.RED | https://github.com/echoCTF/echoCTF.RED/blob/842f644a0b15af85ba5ffda841b32b40121c3063/frontend/modules/challenge/models/ChallengeSearch.php | frontend/modules/challenge/models/ChallengeSearch.php | <?php
namespace app\modules\challenge\models;
use yii\base\Model;
use yii\data\ActiveDataProvider;
/**
* ChallengeSearch represents the model behind the search form of `app\models\Challenge`.
*/
class ChallengeSearch extends Challenge
{
/**
* {@inheritdoc}
*/
public function rules()
{
... | php | BSD-2-Clause | 842f644a0b15af85ba5ffda841b32b40121c3063 | 2026-01-05T04:18:44.767387Z | false |
echoCTF/echoCTF.RED | https://github.com/echoCTF/echoCTF.RED/blob/842f644a0b15af85ba5ffda841b32b40121c3063/frontend/modules/challenge/models/PlayerQuestion.php | frontend/modules/challenge/models/PlayerQuestion.php | <?php
namespace app\modules\challenge\models;
use Yii;
use app\models\Player;
use yii\behaviors\AttributeTypecastBehavior;
/**
* This is the model class for table "player_question".
*
* @property int $id
* @property int $question_id
* @property int|null $player_id
* @property float|null $points
* @property st... | php | BSD-2-Clause | 842f644a0b15af85ba5ffda841b32b40121c3063 | 2026-01-05T04:18:44.767387Z | false |
echoCTF/echoCTF.RED | https://github.com/echoCTF/echoCTF.RED/blob/842f644a0b15af85ba5ffda841b32b40121c3063/frontend/modules/challenge/models/Question.php | frontend/modules/challenge/models/Question.php | <?php
namespace app\modules\challenge\models;
use Yii;
use yii\behaviors\AttributeTypecastBehavior;
/**
* This is the model class for table "question".
*
* @property int $id
* @property int $challenge_id
* @property string|null $name
* @property string|null $description
* @property float|null $points
* @prop... | php | BSD-2-Clause | 842f644a0b15af85ba5ffda841b32b40121c3063 | 2026-01-05T04:18:44.767387Z | false |
echoCTF/echoCTF.RED | https://github.com/echoCTF/echoCTF.RED/blob/842f644a0b15af85ba5ffda841b32b40121c3063/frontend/themes/material/site/verify-email.php | frontend/themes/material/site/verify-email.php | <?php
/* @var $this yii\web\View */
/* @var $form yii\bootstrap\ActiveForm */
/* @var $model \frontend\models\PasswordResetRequestForm */
use yii\helpers\Html;
use yii\bootstrap\ActiveForm;
$this->title=Yii::$app->sys->event_name.' '.\Yii::t('app','Account Email Verification');
?>
<div class="site-verify-email">
... | php | BSD-2-Clause | 842f644a0b15af85ba5ffda841b32b40121c3063 | 2026-01-05T04:18:44.767387Z | false |
echoCTF/echoCTF.RED | https://github.com/echoCTF/echoCTF.RED/blob/842f644a0b15af85ba5ffda841b32b40121c3063/frontend/themes/material/site/resendVerificationEmail.php | frontend/themes/material/site/resendVerificationEmail.php | <?php
/* @var $this yii\web\View */
/* @var $form yii\bootstrap\ActiveForm */
/* @var $model \frontend\models\ResetPasswordForm */
use yii\helpers\Html;
use yii\bootstrap\ActiveForm;
$this->title=Yii::$app->sys->event_name.' '.\Yii::t('app','Resend verification email');
?>
<div class="site-resend-verification-email">... | php | BSD-2-Clause | 842f644a0b15af85ba5ffda841b32b40121c3063 | 2026-01-05T04:18:44.767387Z | false |
echoCTF/echoCTF.RED | https://github.com/echoCTF/echoCTF.RED/blob/842f644a0b15af85ba5ffda841b32b40121c3063/frontend/themes/material/site/requestPasswordResetToken.php | frontend/themes/material/site/requestPasswordResetToken.php | <?php
/* @var $this yii\web\View */
/* @var $form yii\bootstrap\ActiveForm */
/* @var $model \frontend\models\PasswordResetRequestForm */
use yii\helpers\Html;
use yii\bootstrap\ActiveForm;
$this->title=Yii::$app->sys->event_name.' '.\Yii::t('app','Request password reset');
?>
<div class="site-request-password-reset... | php | BSD-2-Clause | 842f644a0b15af85ba5ffda841b32b40121c3063 | 2026-01-05T04:18:44.767387Z | false |
echoCTF/echoCTF.RED | https://github.com/echoCTF/echoCTF.RED/blob/842f644a0b15af85ba5ffda841b32b40121c3063/frontend/themes/material/site/changelog.php | frontend/themes/material/site/changelog.php | <?php
use yii\helpers\Markdown;
$this->title=Yii::$app->sys->event_name.' Changelog';
$this->_description="The ".\Yii::$app->sys->{"event_name"}." Changelog";
?>
<div class="changelog-index">
<div class="body-content">
<?=Markdown::process($changelog);?>
<?=Markdown::process($todo);?>
</div>
</div>
| php | BSD-2-Clause | 842f644a0b15af85ba5ffda841b32b40121c3063 | 2026-01-05T04:18:44.767387Z | false |
echoCTF/echoCTF.RED | https://github.com/echoCTF/echoCTF.RED/blob/842f644a0b15af85ba5ffda841b32b40121c3063/frontend/themes/material/site/suspended.php | frontend/themes/material/site/suspended.php | <?php
/* @var $this yii\web\View */
/* @var $name string */
/* @var $message string */
/* @var $exception Exception */
use yii\helpers\Html;
use app\widgets\Noti;
$this->title=Yii::$app->sys->event_name.' Account Suspended';
?>
<div class="site-error">
<div class="row">
<div class="col-sm-4">
... | php | BSD-2-Clause | 842f644a0b15af85ba5ffda841b32b40121c3063 | 2026-01-05T04:18:44.767387Z | false |
echoCTF/echoCTF.RED | https://github.com/echoCTF/echoCTF.RED/blob/842f644a0b15af85ba5ffda841b32b40121c3063/frontend/themes/material/site/signup.php | frontend/themes/material/site/signup.php | <?php
/* @var $this yii\web\View */
/* @var $form yii\bootstrap\ActiveForm */
/* @var $model \frontend\models\SignupForm */
use yii\helpers\Html;
use yii\bootstrap\ActiveForm;
use yii\captcha\Captcha;
$this->title = \Yii::$app->sys->event_name . ' ' . \Yii::t('app', 'Signup');
$this->registerJsFile("@web/js/plugins/... | php | BSD-2-Clause | 842f644a0b15af85ba5ffda841b32b40121c3063 | 2026-01-05T04:18:44.767387Z | false |
echoCTF/echoCTF.RED | https://github.com/echoCTF/echoCTF.RED/blob/842f644a0b15af85ba5ffda841b32b40121c3063/frontend/themes/material/site/login.php | frontend/themes/material/site/login.php | <?php
/* @var $this yii\web\View */
/* @var $form yii\bootstrap\ActiveForm */
/* @var $model app\models\LoginForm */
use yii\helpers\Html;
use yii\bootstrap\ActiveForm;
$this->title=Yii::$app->sys->event_name.' '.\Yii::t('app','Login');
?>
<div class="site-login">
<div class="body-content">
<h2><?= Html::encod... | php | BSD-2-Clause | 842f644a0b15af85ba5ffda841b32b40121c3063 | 2026-01-05T04:18:44.767387Z | false |
echoCTF/echoCTF.RED | https://github.com/echoCTF/echoCTF.RED/blob/842f644a0b15af85ba5ffda841b32b40121c3063/frontend/themes/material/site/index.php | frontend/themes/material/site/index.php | <?php
/* @var $this yii\web\View */
$this->title=Yii::$app->sys->event_name;
$this->_url=\yii\helpers\Url::to([null],'https');
?>
<div class="site-index">
<div class="body-content">
<?php
if(Yii::$app->user->isGuest)
echo Yii::$app->sys->frontpage_scenario;
else
echo Yii::$app->sy... | php | BSD-2-Clause | 842f644a0b15af85ba5ffda841b32b40121c3063 | 2026-01-05T04:18:44.767387Z | false |
echoCTF/echoCTF.RED | https://github.com/echoCTF/echoCTF.RED/blob/842f644a0b15af85ba5ffda841b32b40121c3063/frontend/themes/material/site/resetPassword.php | frontend/themes/material/site/resetPassword.php | <?php
/* @var $this yii\web\View */
/* @var $form yii\bootstrap\ActiveForm */
/* @var $model \frontend\models\ResetPasswordForm */
use yii\helpers\Html;
use yii\bootstrap\ActiveForm;
$this->title=Yii::$app->sys->event_name.' '.\Yii::t('app','Reset password');
?>
<div class="site-reset-password">
<div class="body-c... | php | BSD-2-Clause | 842f644a0b15af85ba5ffda841b32b40121c3063 | 2026-01-05T04:18:44.767387Z | false |
echoCTF/echoCTF.RED | https://github.com/echoCTF/echoCTF.RED/blob/842f644a0b15af85ba5ffda841b32b40121c3063/frontend/themes/material/site/maintenance.php | frontend/themes/material/site/maintenance.php | <?php
use yii\helpers\Html as H;
?>
<!doctype html>
<title><?=H::encode(Yii::$app->sys->event_name)?> Maintenance</title>
<style>
body { text-align: center; padding: 150px; background: #222; }
h1 { font-size: 50px; }
body { font: 20px Helvetica, sans-serif; color: #cecece; }
article { display: block; text-align... | php | BSD-2-Clause | 842f644a0b15af85ba5ffda841b32b40121c3063 | 2026-01-05T04:18:44.767387Z | false |
echoCTF/echoCTF.RED | https://github.com/echoCTF/echoCTF.RED/blob/842f644a0b15af85ba5ffda841b32b40121c3063/frontend/themes/material/site/_referrer_card.php | frontend/themes/material/site/_referrer_card.php | <?php
use yii\helpers\Html;
?>
<?php if($referred!==false):?>
<div class="col-lg-3">
<div class="card card-profile">
<div class="card-avatar bg-primary">
<a href="<?=$referred->profile->linkTo?>">
<img class="img" src="/images/avatars/<?=$referred->profile->avtr?>" />
<... | php | BSD-2-Clause | 842f644a0b15af85ba5ffda841b32b40121c3063 | 2026-01-05T04:18:44.767387Z | false |
echoCTF/echoCTF.RED | https://github.com/echoCTF/echoCTF.RED/blob/842f644a0b15af85ba5ffda841b32b40121c3063/frontend/themes/material/site/error.php | frontend/themes/material/site/error.php | <?php
/* @var $this yii\web\View */
/* @var $name string */
/* @var $message string */
/* @var $exception Exception */
use yii\helpers\Html;
use app\widgets\Noti;
if(property_exists($exception,'statusCode'))
$error=\Yii::t('app','Error {statusCode}: ',['event_name'=>Yii::$app->sys->event_name,'statusCode'=>$exceptio... | php | BSD-2-Clause | 842f644a0b15af85ba5ffda841b32b40121c3063 | 2026-01-05T04:18:44.767387Z | false |
echoCTF/echoCTF.RED | https://github.com/echoCTF/echoCTF.RED/blob/842f644a0b15af85ba5ffda841b32b40121c3063/frontend/themes/material/static-page/view.php | frontend/themes/material/static-page/view.php | <?php
/* @var $this yii\web\View */
$this->title=\Yii::$app->sys->event_name.' '.$content->title;
?>
<div class="static-page-<?=$content->slug?>">
<div class="body-content">
<?=$content->body?>
</div>
</div>
| php | BSD-2-Clause | 842f644a0b15af85ba5ffda841b32b40121c3063 | 2026-01-05T04:18:44.767387Z | false |
echoCTF/echoCTF.RED | https://github.com/echoCTF/echoCTF.RED/blob/842f644a0b15af85ba5ffda841b32b40121c3063/frontend/themes/material/profile/_writeups.php | frontend/themes/material/profile/_writeups.php | <?php
use yii\helpers\Html;
use yii\helpers\Url;
?>
<h3><code><?=count($profile->writeups)?></code> Writeups</h3>
<div class="row">
<?php foreach($profile->writeups as $writeup):?>
<div class="col col-sm-12 col-md-6 col-lg-6 col-xl-3">
<div class="iconic-card bg-dark">
<img align="right" class="img-fluid" src="<?... | php | BSD-2-Clause | 842f644a0b15af85ba5ffda841b32b40121c3063 | 2026-01-05T04:18:44.767387Z | false |
echoCTF/echoCTF.RED | https://github.com/echoCTF/echoCTF.RED/blob/842f644a0b15af85ba5ffda841b32b40121c3063/frontend/themes/material/profile/_badges.php | frontend/themes/material/profile/_badges.php | <h3>Badges</h3>
<div class="row game-badges">
<?php foreach($game->badges->received_by($profile->player_id)->all() as $badge):?>
<div class="col col-xl-4 col-sm-12 col-md-6 col-lg-6">
<div class="iconic-card">
<center><?=$badge->pubname?></center>
<h3><?=$badge->name?></h3>
<?php if(!Yii::$app... | php | BSD-2-Clause | 842f644a0b15af85ba5ffda841b32b40121c3063 | 2026-01-05T04:18:44.767387Z | false |
echoCTF/echoCTF.RED | https://github.com/echoCTF/echoCTF.RED/blob/842f644a0b15af85ba5ffda841b32b40121c3063/frontend/themes/material/profile/_headshots.php | frontend/themes/material/profile/_headshots.php | <?php
use yii\helpers\Html;
use yii\helpers\Url;
use yii\widgets\ListView;
?>
<h3><code><?=$profile->headshotsCount?></code> Headshots <?php
$hs=\app\modules\game\models\Headshot::find()->timed()->player_avg_time($profile->player_id)->one();
if($hs && $hs->average > 0)
echo "/ <small>Average time: ",number_format($hs... | php | BSD-2-Clause | 842f644a0b15af85ba5ffda841b32b40121c3063 | 2026-01-05T04:18:44.767387Z | false |
echoCTF/echoCTF.RED | https://github.com/echoCTF/echoCTF.RED/blob/842f644a0b15af85ba5ffda841b32b40121c3063/frontend/themes/material/profile/_headshot_item.php | frontend/themes/material/profile/_headshot_item.php | <?php
use yii\helpers\Html;
use yii\helpers\Url;
?>
<div class="col col-sm-12 col-md-6 col-lg-6 col-xl-3">
<div class="iconic-card bg-dark">
<img align="right" class="img-fluid" src="<?=$model->target->thumbnail?>"/>
<p><?php if($model->first):?><img title="1st headshot on the target" alt="1st headshot on th... | php | BSD-2-Clause | 842f644a0b15af85ba5ffda841b32b40121c3063 | 2026-01-05T04:18:44.767387Z | false |
echoCTF/echoCTF.RED | https://github.com/echoCTF/echoCTF.RED/blob/842f644a0b15af85ba5ffda841b32b40121c3063/frontend/themes/material/profile/_card.php | frontend/themes/material/profile/_card.php | <?php
use yii\helpers\Html;
use yii\helpers\Url;
use app\widgets\Twitter;
use app\widgets\ProfileActionsWidget;
use app\modules\game\models\Headshot;
use yii\bootstrap\ButtonDropdown;
/*
['label' => 'Delete profile', 'url' => ['delete','id'=>$model->id],'linkOptions'=>['data' => [
'confirm' => Yii::t('app', 'Are... | php | BSD-2-Clause | 842f644a0b15af85ba5ffda841b32b40121c3063 | 2026-01-05T04:18:44.767387Z | false |
echoCTF/echoCTF.RED | https://github.com/echoCTF/echoCTF.RED/blob/842f644a0b15af85ba5ffda841b32b40121c3063/frontend/themes/material/profile/_account_settings.php | frontend/themes/material/profile/_account_settings.php | <?php
/* @var $this yii\web\View */
/* @var $model app\modules\settings\models\Faq */
/* @var $form yii\widgets\ActiveForm */
use yii\helpers\Html;
?>
<div class="account-form">
<?php if ($model->_cf('username')):?>
<?=$form->field($model, 'username')->textInput(['maxlength' => true, 'autocomplete'=>"off"]) ?>
<?p... | php | BSD-2-Clause | 842f644a0b15af85ba5ffda841b32b40121c3063 | 2026-01-05T04:18:44.767387Z | false |
echoCTF/echoCTF.RED | https://github.com/echoCTF/echoCTF.RED/blob/842f644a0b15af85ba5ffda841b32b40121c3063/frontend/themes/material/profile/_profile_tabs.php | frontend/themes/material/profile/_profile_tabs.php | <?php if($profile->headshotsCount>0 || count($profile->writeups)>0 || count($profile->owner->challengeSolvers)>0 || intval($game->badges->received_by($profile->player_id)->count())>0):?>
<div class="card card-nav-tabs bg-dark">
<div class="card-header card-header-primary">
<!-- colors: "header-primary", "header-i... | php | BSD-2-Clause | 842f644a0b15af85ba5ffda841b32b40121c3063 | 2026-01-05T04:18:44.767387Z | false |
echoCTF/echoCTF.RED | https://github.com/echoCTF/echoCTF.RED/blob/842f644a0b15af85ba5ffda841b32b40121c3063/frontend/themes/material/profile/index.php | frontend/themes/material/profile/index.php | <?php
use yii\helpers\Html;
use yii\helpers\Url;
use yii\widgets\ListView;
use app\widgets\stream\StreamWidget as Stream;
use app\widgets\target\TargetWidget;
use yii\widgets\Pjax;
use app\widgets\leaderboard\Leaderboard;
use app\modules\target\models\PlayerTargetHelp as PTH;
use app\modules\target\models\Writeup;
use ... | php | BSD-2-Clause | 842f644a0b15af85ba5ffda841b32b40121c3063 | 2026-01-05T04:18:44.767387Z | false |
echoCTF/echoCTF.RED | https://github.com/echoCTF/echoCTF.RED/blob/842f644a0b15af85ba5ffda841b32b40121c3063/frontend/themes/material/profile/settings.php | frontend/themes/material/profile/settings.php | <?php
use yii\helpers\Html;
use yii\widgets\ActiveForm;
$this->registerJsFile('@web/js/plugins/bootstrap-selectpicker.min.js', ['depends'=>['app\assets\MaterialAsset']]);
$this->registerCssFile("@web/css/bootstrap-select.min.css", [
'depends' => ['app\assets\MaterialAsset'],
], 'css-print-theme');
$this->registerJ... | php | BSD-2-Clause | 842f644a0b15af85ba5ffda841b32b40121c3063 | 2026-01-05T04:18:44.767387Z | false |
echoCTF/echoCTF.RED | https://github.com/echoCTF/echoCTF.RED/blob/842f644a0b15af85ba5ffda841b32b40121c3063/frontend/themes/material/profile/_challenge_solves.php | frontend/themes/material/profile/_challenge_solves.php | <?php
use yii\helpers\Html;
use yii\helpers\Url;
?>
<h3><code><?=count($profile->owner->challengeSolvers)?></code> Challenges solved</h2>
<div class="row">
<?php foreach($profile->owner->challengeSolvers as $cs):?>
<div class="col col-sm-6 col-md-6 col-lg-6 col-xl-3">
<div class="iconic-card bg-dark">
... | php | BSD-2-Clause | 842f644a0b15af85ba5ffda841b32b40121c3063 | 2026-01-05T04:18:44.767387Z | false |
echoCTF/echoCTF.RED | https://github.com/echoCTF/echoCTF.RED/blob/842f644a0b15af85ba5ffda841b32b40121c3063/frontend/themes/material/profile/_profile_settings.php | frontend/themes/material/profile/_profile_settings.php | <?php
/* @var $this yii\web\View */
/* @var $model app\modules\settings\models\Faq */
/* @var $form yii\widgets\ActiveForm */
use yii\helpers\Html;
use yii\helpers\ArrayHelper;
use app\models\Country;
$this->_fluid="-fluid";
?>
<div class="profile-form">
<div class="row">
<?php if($model->_cf('visibility')):... | php | BSD-2-Clause | 842f644a0b15af85ba5ffda841b32b40121c3063 | 2026-01-05T04:18:44.767387Z | false |
echoCTF/echoCTF.RED | https://github.com/echoCTF/echoCTF.RED/blob/842f644a0b15af85ba5ffda841b32b40121c3063/frontend/themes/material/profile/guest/index.php | frontend/themes/material/profile/guest/index.php | <?php
use yii\helpers\Html;
use yii\helpers\Url;
use yii\widgets\ListView;
use app\widgets\stream\StreamWidget as Stream;
use app\widgets\target\TargetWidget;
use yii\widgets\Pjax;
use app\widgets\leaderboard\Leaderboard;
use app\modules\target\models\PlayerTargetHelp as PTH;
use app\modules\target\models\Writeup;
use ... | php | BSD-2-Clause | 842f644a0b15af85ba5ffda841b32b40121c3063 | 2026-01-05T04:18:44.767387Z | false |
echoCTF/echoCTF.RED | https://github.com/echoCTF/echoCTF.RED/blob/842f644a0b15af85ba5ffda841b32b40121c3063/frontend/themes/material/layouts/main.php | frontend/themes/material/layouts/main.php | <?php
use yii\helpers\Html;
use app\widgets\Noti;
use app\assets\MaterialAsset;
Yii::$app->timeZone=Yii::$app->sys->time_zone ?: 'UTC';
date_default_timezone_set(Yii::$app->sys->time_zone ?: 'UTC');
$bundle=MaterialAsset::register($this);
//$directoryAsset = Yii::$app->assetManager->getPublishedUrl('@vendor/ricar2ce/y... | php | BSD-2-Clause | 842f644a0b15af85ba5ffda841b32b40121c3063 | 2026-01-05T04:18:44.767387Z | false |
echoCTF/echoCTF.RED | https://github.com/echoCTF/echoCTF.RED/blob/842f644a0b15af85ba5ffda841b32b40121c3063/frontend/themes/material/layouts/badge.php | frontend/themes/material/layouts/badge.php | <?php
use yii\helpers\Html;
use app\assets\MaterialAsset;
Yii::$app->timeZone=Yii::$app->sys->time_zone ?: 'UTC';
date_default_timezone_set(Yii::$app->sys->time_zone ?: 'UTC');
$bundle=MaterialAsset::register($this);
//$directoryAsset = Yii::$app->assetManager->getPublishedUrl('@vendor/ricar2ce/yii2-material-theme/ass... | php | BSD-2-Clause | 842f644a0b15af85ba5ffda841b32b40121c3063 | 2026-01-05T04:18:44.767387Z | false |
echoCTF/echoCTF.RED | https://github.com/echoCTF/echoCTF.RED/blob/842f644a0b15af85ba5ffda841b32b40121c3063/frontend/themes/material/layouts/header.php | frontend/themes/material/layouts/header.php | <?php
use yii\helpers\Html;
use yii\bootstrap\Nav;
use yii\bootstrap\NavBar;
use yii\helpers\Url;
/* @var $this \yii\web\View */
/* @var $content string */
?>
<!-- Navbar -->
<nav class="navbar navbar-expand-lg navbar-transparent navbar-absolute fixed-top">
<div class="container-fluid">
<div class="navbar-wrap... | php | BSD-2-Clause | 842f644a0b15af85ba5ffda841b32b40121c3063 | 2026-01-05T04:18:44.767387Z | false |
echoCTF/echoCTF.RED | https://github.com/echoCTF/echoCTF.RED/blob/842f644a0b15af85ba5ffda841b32b40121c3063/frontend/themes/material/layouts/left.php | frontend/themes/material/layouts/left.php | <?php
$menu=$img="";
$config=new app\assets\MaterialAssetConfig();
$menu=app\models\Menu::getMenu();
$img=$config::sidebarBackgroundImage();
use yii\helpers\Html;
use yii\helpers\Url;
?>
<div class="sidebar" data-color="<?=$config::sidebarColor() ?>" data-background-color="<?=$config::sidebarBackground... | php | BSD-2-Clause | 842f644a0b15af85ba5ffda841b32b40121c3063 | 2026-01-05T04:18:44.767387Z | false |
echoCTF/echoCTF.RED | https://github.com/echoCTF/echoCTF.RED/blob/842f644a0b15af85ba5ffda841b32b40121c3063/frontend/themes/material/modules/help/views/credits/_item.php | frontend/themes/material/modules/help/views/credits/_item.php | <h1><?=$model->title?></h1>
<?=$model->body?>
<hr/> | php | BSD-2-Clause | 842f644a0b15af85ba5ffda841b32b40121c3063 | 2026-01-05T04:18:44.767387Z | false |
echoCTF/echoCTF.RED | https://github.com/echoCTF/echoCTF.RED/blob/842f644a0b15af85ba5ffda841b32b40121c3063/frontend/themes/material/modules/help/views/credits/index.php | frontend/themes/material/modules/help/views/credits/index.php | <?php
$this->title = \Yii::$app->sys->event_name . ' Credits';
$this->registerCss(@file_get_contents(__DIR__."/style.css"));
use yii\widgets\ListView;
use yii\helpers\Html;
$this->_fluid="-fluid";
?>
<?php
echo Html::button('<i class="fa-solid fa-stop"></i> Stop', [ 'id'=>'play-pause','class' => 'btn text-dark text-bo... | php | BSD-2-Clause | 842f644a0b15af85ba5ffda841b32b40121c3063 | 2026-01-05T04:18:44.767387Z | false |
echoCTF/echoCTF.RED | https://github.com/echoCTF/echoCTF.RED/blob/842f644a0b15af85ba5ffda841b32b40121c3063/frontend/themes/material/modules/help/views/rule/_rule.php | frontend/themes/material/modules/help/views/rule/_rule.php | <?php
use yii\helpers\Html;
use yii\widgets\DetailView;
use app\components\formatters\Anchor;
?>
<div class="rule-view">
<section id="<?=Html::encode(Anchor::to($model->title))?>">
<h3><b><?=Html::encode($model->title)?></b></h3>
<p><?=$model->message;?></p>
</section>
</div>
| php | BSD-2-Clause | 842f644a0b15af85ba5ffda841b32b40121c3063 | 2026-01-05T04:18:44.767387Z | false |
echoCTF/echoCTF.RED | https://github.com/echoCTF/echoCTF.RED/blob/842f644a0b15af85ba5ffda841b32b40121c3063/frontend/themes/material/modules/help/views/rule/index.php | frontend/themes/material/modules/help/views/rule/index.php | <?php
use yii\helpers\Html;
use yii\widgets\ListView;
$this->title=Html::encode(Yii::$app->sys->event_name.' '.\Yii::t('app','Rules'));
$this->_description=\Yii::t('app','These rules are only in place to keep the platform entertaining and manageable. Please respect the rules and have fun :)');
$this->_url=\yii\helpers\... | php | BSD-2-Clause | 842f644a0b15af85ba5ffda841b32b40121c3063 | 2026-01-05T04:18:44.767387Z | false |
echoCTF/echoCTF.RED | https://github.com/echoCTF/echoCTF.RED/blob/842f644a0b15af85ba5ffda841b32b40121c3063/frontend/themes/material/modules/help/views/default/index.php | frontend/themes/material/modules/help/views/default/index.php | <?php
use yii\helpers\Html;
use yii\widgets\ListView;
$this->title=Html::encode(Yii::$app->sys->event_name.' '.\Yii::t('app','Help'));
$this->_description='Available help material';
$this->_url=\yii\helpers\Url::to(['index'], 'https');
use app\components\formatters\Anchor;
?>
<div class="help-index">
<div class="body... | php | BSD-2-Clause | 842f644a0b15af85ba5ffda841b32b40121c3063 | 2026-01-05T04:18:44.767387Z | false |
echoCTF/echoCTF.RED | https://github.com/echoCTF/echoCTF.RED/blob/842f644a0b15af85ba5ffda841b32b40121c3063/frontend/themes/material/modules/help/views/instruction/index.php | frontend/themes/material/modules/help/views/instruction/index.php | <?php
use yii\helpers\Html;
use yii\widgets\ListView;
$this->title=Html::encode(Yii::$app->sys->event_name.' '.\Yii::t('app','Instructions'));
$this->_description=\Yii::t('app','Instructions on connecting and getting help');
$this->_url=\yii\helpers\Url::to(['index'], 'https');
use app\components\formatters\Anchor;
?>
... | php | BSD-2-Clause | 842f644a0b15af85ba5ffda841b32b40121c3063 | 2026-01-05T04:18:44.767387Z | false |
echoCTF/echoCTF.RED | https://github.com/echoCTF/echoCTF.RED/blob/842f644a0b15af85ba5ffda841b32b40121c3063/frontend/themes/material/modules/help/views/instruction/_instruction.php | frontend/themes/material/modules/help/views/instruction/_instruction.php | <?php
use yii\helpers\Html;
use yii\widgets\DetailView;
use app\components\formatters\Anchor;
?>
<div class="instruction-view">
<section id="<?=Html::encode(Anchor::to($model->title))?>">
<h3><b><?=Html::encode($model->title)?></b></h3>
<?=$model->message;?>
</section>
</div>
| php | BSD-2-Clause | 842f644a0b15af85ba5ffda841b32b40121c3063 | 2026-01-05T04:18:44.767387Z | false |
echoCTF/echoCTF.RED | https://github.com/echoCTF/echoCTF.RED/blob/842f644a0b15af85ba5ffda841b32b40121c3063/frontend/themes/material/modules/help/views/experience/index.php | frontend/themes/material/modules/help/views/experience/index.php | <?php
use yii\helpers\Html;
use yii\widgets\ListView;
$this->title=Html::encode(Yii::$app->sys->event_name.' '.\Yii::t('app','Experience Levels'));
$this->_description=\Yii::t('app','Experience levels and their requirements in points');
$this->_url=\yii\helpers\Url::to(['index'], 'https');
?>
<div class="faq-index">
... | php | BSD-2-Clause | 842f644a0b15af85ba5ffda841b32b40121c3063 | 2026-01-05T04:18:44.767387Z | false |
echoCTF/echoCTF.RED | https://github.com/echoCTF/echoCTF.RED/blob/842f644a0b15af85ba5ffda841b32b40121c3063/frontend/themes/material/modules/help/views/faq/_faq.php | frontend/themes/material/modules/help/views/faq/_faq.php | <?php
use yii\helpers\Html;
use yii\widgets\DetailView;
use app\components\formatters\Anchor;
?>
<div class="faq-view">
<section id="<?=Html::encode(Anchor::to($model->title))?>">
<h3><b><?=Html::encode($model->title)?></b></h3>
<?=$model->body;?>
</section>
</div>
| php | BSD-2-Clause | 842f644a0b15af85ba5ffda841b32b40121c3063 | 2026-01-05T04:18:44.767387Z | false |
echoCTF/echoCTF.RED | https://github.com/echoCTF/echoCTF.RED/blob/842f644a0b15af85ba5ffda841b32b40121c3063/frontend/themes/material/modules/help/views/faq/index.php | frontend/themes/material/modules/help/views/faq/index.php | <?php
use yii\helpers\Html;
use yii\widgets\ListView;
$this->title=Html::encode(Yii::$app->sys->event_name.' '.\Yii::t('app','FAQ'));
$this->_description=\Yii::t('app','Frequently Asked questions about the platform');
$this->_url=\yii\helpers\Url::to(['index'], 'https');
use app\components\formatters\Anchor;
?>
<div cl... | php | BSD-2-Clause | 842f644a0b15af85ba5ffda841b32b40121c3063 | 2026-01-05T04:18:44.767387Z | false |
echoCTF/echoCTF.RED | https://github.com/echoCTF/echoCTF.RED/blob/842f644a0b15af85ba5ffda841b32b40121c3063/frontend/themes/material/modules/tutorial/views/default/_task.php | frontend/themes/material/modules/tutorial/views/default/_task.php | <?php
use yii\helpers\Html;
use yii\widgets\DetailView;
?>
<div class="task-view">
<details>
<?php echo $model->description;?>
<summary><b id="task-<?=$index + 1?>">Q<?php echo $index + 1?>: <?php echo Html::encode($model->title);?> (<?php echo $model->points?>)</b></summary>
</details>
</div>
| php | BSD-2-Clause | 842f644a0b15af85ba5ffda841b32b40121c3063 | 2026-01-05T04:18:44.767387Z | false |
echoCTF/echoCTF.RED | https://github.com/echoCTF/echoCTF.RED/blob/842f644a0b15af85ba5ffda841b32b40121c3063/frontend/themes/material/modules/tutorial/views/default/view.php | frontend/themes/material/modules/tutorial/views/default/view.php | <?php
use yii\helpers\Html;
use yii\widgets\DetailView;
use yii\widgets\ListView;
use yii\data\ActiveDataProvider;
use yii\bootstrap\ActiveForm;
use app\widgets\Twitter;
/* @var $this yii\web\View */
/* @var $model app\models\Tutorial */
$this->title=Html::encode(Yii::$app->sys->event_name.' Tutorials / (ID#'.$model-... | php | BSD-2-Clause | 842f644a0b15af85ba5ffda841b32b40121c3063 | 2026-01-05T04:18:44.767387Z | false |
echoCTF/echoCTF.RED | https://github.com/echoCTF/echoCTF.RED/blob/842f644a0b15af85ba5ffda841b32b40121c3063/frontend/themes/material/modules/tutorial/views/default/index.php | frontend/themes/material/modules/tutorial/views/default/index.php | <?php
use yii\helpers\Html;
use yii\widgets\ListView;
$this->title=Yii::$app->sys->event_name.' Tutorials';
$this->_description=$this->title
?>
<div class="tutorial-index">
<div class="body-content">
<h2><?= Html::encode($this->title)?></h2>
Tutorials for your consumption :)
<hr />
<?php echo ListVi... | php | BSD-2-Clause | 842f644a0b15af85ba5ffda841b32b40121c3063 | 2026-01-05T04:18:44.767387Z | false |
echoCTF/echoCTF.RED | https://github.com/echoCTF/echoCTF.RED/blob/842f644a0b15af85ba5ffda841b32b40121c3063/frontend/themes/material/modules/tutorial/views/default/_tutorial.php | frontend/themes/material/modules/tutorial/views/default/_tutorial.php | <?php
use yii\helpers\Html;
use yii\widgets\DetailView;
?>
<div class="tutorial-view well">
<h3><b><?= Html::a(Html::encode($model->title), ['view', 'id'=>$model->id])?></b></h3>
<p><?=$model->description;?></p>
</div>
| php | BSD-2-Clause | 842f644a0b15af85ba5ffda841b32b40121c3063 | 2026-01-05T04:18:44.767387Z | false |
echoCTF/echoCTF.RED | https://github.com/echoCTF/echoCTF.RED/blob/842f644a0b15af85ba5ffda841b32b40121c3063/frontend/themes/material/modules/team/views/default/_target_item.php | frontend/themes/material/modules/team/views/default/_target_item.php | <?php
use yii\helpers\Html;
use yii\helpers\HtmlPurifier;
$item_classes = [
'list-group-item',
'list-group-item-action',
'd-flex',
'justify-content-between',
'align-items-center',
'text-primary',
'orbitron',
'rounded'
];
if($progress===false)
$text =$model['name']. ' ' . Html::img("/images/targets/... | php | BSD-2-Clause | 842f644a0b15af85ba5ffda841b32b40121c3063 | 2026-01-05T04:18:44.767387Z | false |
echoCTF/echoCTF.RED | https://github.com/echoCTF/echoCTF.RED/blob/842f644a0b15af85ba5ffda841b32b40121c3063/frontend/themes/material/modules/team/views/default/view.php | frontend/themes/material/modules/team/views/default/view.php | <?php
use yii\helpers\Html;
use yii\helpers\Url;
use yii\grid\GridView;
use yii\widgets\ListView;
use yii\widgets\Pjax;
use app\widgets\stream\StreamWidget as Stream;
$this->loadLayoutOverrides = true;
$this->title = Yii::$app->sys->event_name . ' ' . \Yii::t('app', 'Team details for') . ' [' . $team->name . ']';
$t... | php | BSD-2-Clause | 842f644a0b15af85ba5ffda841b32b40121c3063 | 2026-01-05T04:18:44.767387Z | false |
echoCTF/echoCTF.RED | https://github.com/echoCTF/echoCTF.RED/blob/842f644a0b15af85ba5ffda841b32b40121c3063/frontend/themes/material/modules/team/views/default/index.php | frontend/themes/material/modules/team/views/default/index.php | <?php
use yii\helpers\Html;
use yii\grid\GridView;
use yii\widgets\ListView;
$this->loadLayoutOverrides=true;
$this->title = Yii::$app->sys->event_name . ' ' . \Yii::t('app', 'Teams');
$this->_fluid = "-fluid";
?>
<div class="team-index">
<div class="body-content">
<h2><?= Html::encode($this->title) ?></h2>
... | php | BSD-2-Clause | 842f644a0b15af85ba5ffda841b32b40121c3063 | 2026-01-05T04:18:44.767387Z | false |
echoCTF/echoCTF.RED | https://github.com/echoCTF/echoCTF.RED/blob/842f644a0b15af85ba5ffda841b32b40121c3063/frontend/themes/material/modules/team/views/default/invite.php | frontend/themes/material/modules/team/views/default/invite.php | <?php
use yii\helpers\Html;
use yii\helpers\Url;
use yii\grid\GridView;
use yii\widgets\ListView;
$this->loadLayoutOverrides=true;
$this->title=Yii::$app->sys->event_name.' '.\Yii::t('app','Invite to join team').' ['.$team->name.']';
?>
<div class="team-invite">
<div class="body-content text-center">
<h2><?=\Yi... | php | BSD-2-Clause | 842f644a0b15af85ba5ffda841b32b40121c3063 | 2026-01-05T04:18:44.767387Z | false |
echoCTF/echoCTF.RED | https://github.com/echoCTF/echoCTF.RED/blob/842f644a0b15af85ba5ffda841b32b40121c3063/frontend/themes/material/modules/team/views/default/_team_card.php | frontend/themes/material/modules/team/views/default/_team_card.php | <?php
use yii\grid\GridView;
use yii\helpers\Html;
use yii\helpers\Url;
use yii\data\ActiveDataProvider;
use yii\data\ArrayDataProvider;
$dataProvider = new ArrayDataProvider([
'allModels' => $model->teamPlayers,
'sort' => false,
'pagination' => false,
]);
?>
<div class="card card-profile team-card bg-dark">
... | php | BSD-2-Clause | 842f644a0b15af85ba5ffda841b32b40121c3063 | 2026-01-05T04:18:44.767387Z | false |
echoCTF/echoCTF.RED | https://github.com/echoCTF/echoCTF.RED/blob/842f644a0b15af85ba5ffda841b32b40121c3063/frontend/themes/material/modules/team/views/default/update.php | frontend/themes/material/modules/team/views/default/update.php | <?php
use yii\helpers\Html;
use yii\bootstrap\ActiveForm;
$this->title = Yii::$app->sys->event_name . ' ' . \Yii::t('app', 'Update team details') . ' [' . $model->name . ']';
$this->_fluid = "-fluid";
$this->loadLayoutOverrides = true;
?>
<div class="team-update">
<div class="body-content">
<h2><?= \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/frontend/themes/material/modules/team/views/default/_challenge_item.php | frontend/themes/material/modules/team/views/default/_challenge_item.php | <?php
use yii\helpers\Html;
use yii\helpers\HtmlPurifier;
$item_classes = [
'list-group-item',
'list-group-item-action',
'd-flex',
'justify-content-between',
'align-items-center',
'text-primary',
'orbitron',
'rounded'
];
if($progress===false)
$text =$model['name'];
else
{
$bar=\yii\bootstrap4\Pro... | php | BSD-2-Clause | 842f644a0b15af85ba5ffda841b32b40121c3063 | 2026-01-05T04:18:44.767387Z | false |
echoCTF/echoCTF.RED | https://github.com/echoCTF/echoCTF.RED/blob/842f644a0b15af85ba5ffda841b32b40121c3063/frontend/themes/material/modules/team/views/default/_network_item.php | frontend/themes/material/modules/team/views/default/_network_item.php | <?php
use yii\helpers\Html;
use yii\helpers\HtmlPurifier;
$item_classes = [
'list-group-item',
'list-group-item-action',
'd-flex',
// 'justify-content-between',
'align-items-center',
'text-primary',
'orbitron',
'rounded'
];
$text=Html::img('/images/avatars/' . $model->player->profile->avtr, ['class' =... | php | BSD-2-Clause | 842f644a0b15af85ba5ffda841b32b40121c3063 | 2026-01-05T04:18:44.767387Z | false |
echoCTF/echoCTF.RED | https://github.com/echoCTF/echoCTF.RED/blob/842f644a0b15af85ba5ffda841b32b40121c3063/frontend/themes/material/modules/team/views/default/_target_instance_card.php | frontend/themes/material/modules/team/views/default/_target_instance_card.php | <?php
use yii\helpers\Html;
use app\widgets\Card;
$target = $model->target;
$display_ip = long2ip($model->ip);
Card::begin([
'header' => 'header-icon',
'type' => 'card-stats bg-dark',
'encode' => false,
'icon' => sprintf('<img src="%s" class="img-fluid" style="max-width: 10rem; max-height: 4rem;" />', $target... | php | BSD-2-Clause | 842f644a0b15af85ba5ffda841b32b40121c3063 | 2026-01-05T04:18:44.767387Z | false |
echoCTF/echoCTF.RED | https://github.com/echoCTF/echoCTF.RED/blob/842f644a0b15af85ba5ffda841b32b40121c3063/frontend/themes/material/modules/team/views/default/create.php | frontend/themes/material/modules/team/views/default/create.php | <?php
use yii\helpers\Html;
use yii\bootstrap\ActiveForm;
$this->loadLayoutOverrides=true;
$this->title=Yii::$app->sys->event_name.' '.\Yii::t('app','Create Team');
?>
<div class="team-create">
<div class="body-content">
<h2><?=Html::encode($this->title)?></h2>
<?=\Yii::t('app','Create your own team :)')?>
... | php | BSD-2-Clause | 842f644a0b15af85ba5ffda841b32b40121c3063 | 2026-01-05T04:18:44.767387Z | false |
echoCTF/echoCTF.RED | https://github.com/echoCTF/echoCTF.RED/blob/842f644a0b15af85ba5ffda841b32b40121c3063/frontend/themes/material/modules/target/views/default/_guest.php | frontend/themes/material/modules/target/views/default/_guest.php | <?php
use app\modules\game\models\Headshot;
use yii\helpers\Html;
$this->title = \Yii::t('app', '{event_name} Target: {target_name}', ['event_name' => Yii::$app->sys->event_name, 'target_name' => $target->name]);
$difficulty = $target->getDifficultyText($target->average_rating);
$subtitleARR = [$target->category, ucf... | php | BSD-2-Clause | 842f644a0b15af85ba5ffda841b32b40121c3063 | 2026-01-05T04:18:44.767387Z | false |
echoCTF/echoCTF.RED | https://github.com/echoCTF/echoCTF.RED/blob/842f644a0b15af85ba5ffda841b32b40121c3063/frontend/themes/material/modules/target/views/default/_target_metadata.php | frontend/themes/material/modules/target/views/default/_target_metadata.php | <?php if(!Yii::$app->user->isGuest && $metadata):?>
<?php if(Yii::$app->user->identity->isAdmin):?>
<?php if(!empty($metadata->scenario)):?><b><?=\Yii::t('app','Scenario')?></b>: <?=\yii\helpers\Markdown::process($metadata->scenario,'gfm')?><br/><?php endif;?>
<?php if(!empty($metadata->instructions)):?><b><?... | php | BSD-2-Clause | 842f644a0b15af85ba5ffda841b32b40121c3063 | 2026-01-05T04:18:44.767387Z | false |
echoCTF/echoCTF.RED | https://github.com/echoCTF/echoCTF.RED/blob/842f644a0b15af85ba5ffda841b32b40121c3063/frontend/themes/material/modules/target/views/default/_player_discoveries.php | frontend/themes/material/modules/target/views/default/_player_discoveries.php | <?php
use yii\helpers\ArrayHelper;
use yii\helpers\Html;
?>
<div class="card bg-dark">
<div class="card-header">
<h4><i class="fas fa-chalkboard-teacher"></i> <?=\Yii::t('app','Progress')?></h4>
</div>
<div class="card-body table-responsive">
<?php
if(count($findings)>0)
{
echo \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/frontend/themes/material/modules/target/views/default/_headshots_card.php | frontend/themes/material/modules/target/views/default/_headshots_card.php | <?php
use yii\helpers\Html;
use app\widgets\target\HeadshotsWidget;
?>
<div class="card bg-dark headshots">
<div class="card-header">
<h4><i class="fas fa-skull"></i> <?= \Yii::t('app', '{headshots,plural,=0{No headshots yet} =1{# Headshot} other{# Headshots (newer first)}}', ['headshots' => count($target->headsh... | php | BSD-2-Clause | 842f644a0b15af85ba5ffda841b32b40121c3063 | 2026-01-05T04:18:44.767387Z | false |
echoCTF/echoCTF.RED | https://github.com/echoCTF/echoCTF.RED/blob/842f644a0b15af85ba5ffda841b32b40121c3063/frontend/themes/material/modules/target/views/default/_restart_log.php | frontend/themes/material/modules/target/views/default/_restart_log.php | <?php
use yii\helpers\ArrayHelper;
use yii\helpers\Html;
?>
<div class="card bg-dark">
<div class="card-header">
<h4><i class="fas fa-sync"></i> <?= \Yii::t('app', 'Reboot log') ?></h4>
</div>
<div class="card-body table-responsive">
<?php foreach ($target->spinHistories as $entry): ?>
<div class="... | php | BSD-2-Clause | 842f644a0b15af85ba5ffda841b32b40121c3063 | 2026-01-05T04:18:44.767387Z | false |
echoCTF/echoCTF.RED | https://github.com/echoCTF/echoCTF.RED/blob/842f644a0b15af85ba5ffda841b32b40121c3063/frontend/themes/material/modules/target/views/default/_target_writeups.php | frontend/themes/material/modules/target/views/default/_target_writeups.php | <?php
use yii\helpers\Html;
?>
<div class="card bg-dark terminal writeups">
<div class="card-header">
<h4><i class="fas fa-book"></i> <?=\Yii::t('app','{writeups,plural,=0{No writeups yet} =1{# Writeup by:} other{# Writeups by:}}',['writeups'=>count($writeups)])?></h4>
</div>
<div class="card-body">
<div ... | php | BSD-2-Clause | 842f644a0b15af85ba5ffda841b32b40121c3063 | 2026-01-05T04:18:44.767387Z | false |
echoCTF/echoCTF.RED | https://github.com/echoCTF/echoCTF.RED/blob/842f644a0b15af85ba5ffda841b32b40121c3063/frontend/themes/material/modules/target/views/default/search.php | frontend/themes/material/modules/target/views/default/search.php | <?php
use yii\helpers\Html;
use yii\helpers\Url;
use app\widgets\Noti;
?>
<?php echo Html::beginForm(['#'], 'post', ['class'=>'navbar-form', 'id'=>'search', 'autocomplete'=>"off"]);?>
<div class="input-group no-border" style="padding-right: 10px;">
<?php echo Html::submitButton('<i class="material-icons flag-claim"... | php | BSD-2-Clause | 842f644a0b15af85ba5ffda841b32b40121c3063 | 2026-01-05T04:18:44.767387Z | false |
echoCTF/echoCTF.RED | https://github.com/echoCTF/echoCTF.RED/blob/842f644a0b15af85ba5ffda841b32b40121c3063/frontend/themes/material/modules/target/views/default/view.php | frontend/themes/material/modules/target/views/default/view.php | <?php
use yii\helpers\Html;
use yii\helpers\Url;
use yii\widgets\ListView;
use app\widgets\stream\StreamWidget as Stream;
$this->title=\Yii::t('app','{event_name} Target: {target_name}',['event_name'=>Yii::$app->sys->event_name,'target_name'=>$target->name]);
$this->_description=$target->purpose;
$this->_image=\yii\hel... | php | BSD-2-Clause | 842f644a0b15af85ba5ffda841b32b40121c3063 | 2026-01-05T04:18:44.767387Z | false |
echoCTF/echoCTF.RED | https://github.com/echoCTF/echoCTF.RED/blob/842f644a0b15af85ba5ffda841b32b40121c3063/frontend/themes/material/modules/target/views/default/_target_description.php | frontend/themes/material/modules/target/views/default/_target_description.php | <?php
use yii\helpers\Html;
use yii\helpers\ArrayHelper;
use app\modules\target\models\PlayerTargetHelp as PTH;
?>
<div class="card terminal">
<div class="card-body">
<?=$target->description?>
<?=$this->render('_target_metadata',['target'=>$target,'identity'=>$identity,'metadata'=>$target->metadata]);?>
<... | php | BSD-2-Clause | 842f644a0b15af85ba5ffda841b32b40121c3063 | 2026-01-05T04:18:44.767387Z | false |
echoCTF/echoCTF.RED | https://github.com/echoCTF/echoCTF.RED/blob/842f644a0b15af85ba5ffda841b32b40121c3063/frontend/themes/material/modules/target/views/default/_versus.php | frontend/themes/material/modules/target/views/default/_versus.php | <?php
use app\widgets\Card;
use yii\helpers\Html;
use yii\helpers\ArrayHelper;
use yii\helpers\Url;
use app\widgets\Twitter;
use app\widgets\vote\VoteWidget;
use app\modules\game\models\Headshot;
use app\modules\target\models\PlayerTargetHelp as PTH;
use app\modules\target\models\Writeup;
use yii\helpers\Markdown;
$t... | php | BSD-2-Clause | 842f644a0b15af85ba5ffda841b32b40121c3063 | 2026-01-05T04:18:44.767387Z | false |
echoCTF/echoCTF.RED | https://github.com/echoCTF/echoCTF.RED/blob/842f644a0b15af85ba5ffda841b32b40121c3063/frontend/themes/material/modules/target/views/default/index.php | frontend/themes/material/modules/target/views/default/index.php | <?php
use yii\widgets\Pjax;
use app\widgets\Card;
use app\widgets\target\TargetWidget;
use app\widgets\leaderboard\Leaderboard;
use app\widgets\stream\StreamWidget as Stream;
$this->_fluid="-fluid";
$this->title=Yii::$app->sys->event_name.' '.\Yii::t('app','Targets');
if(Yii::$app->request->get('_pjax')) $this->title=n... | php | BSD-2-Clause | 842f644a0b15af85ba5ffda841b32b40121c3063 | 2026-01-05T04:18:44.767387Z | false |
echoCTF/echoCTF.RED | https://github.com/echoCTF/echoCTF.RED/blob/842f644a0b15af85ba5ffda841b32b40121c3063/frontend/themes/material/modules/target/views/default/_target_card.php | frontend/themes/material/modules/target/views/default/_target_card.php | <?php
use yii\helpers\Html;
use yii\helpers\Url;
use app\widgets\Card;
use app\widgets\targetcardactions\TargetCardActions;
use app\modules\game\models\Headshot;
$target_ip=long2ip($target->ip);
$display_ip=Html::a($target_ip,$target_ip,["class"=>'copy-to-clipboard text-dark text-bold','swal-data'=>"Copied to clipboard... | 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.