
Sexy Big Boobs Porn Pics







Illuminate \ Database \ QueryException
(2002)
Stack frames (28)
27
Illuminate\Database\QueryException
…/vendor/illuminate/database/Connection.php671
26
PDOException
…/vendor/illuminate/database/Connectors/Connector.php70
25
PDO
__construct
…/vendor/illuminate/database/Connectors/Connector.php70
24
Illuminate\Database\Connectors\Connector
createPdoConnection
…/vendor/illuminate/database/Connectors/Connector.php46
23
Illuminate\Database\Connectors\Connector
createConnection
…/vendor/illuminate/database/Connectors/MySqlConnector.php24
22
Illuminate\Database\Connectors\MySqlConnector
connect
…/vendor/illuminate/database/Connectors/ConnectionFactory.php184
21
Illuminate\Database\Connectors\ConnectionFactory
Illuminate\Database\Connectors\{closure}
…/vendor/illuminate/database/Connection.php926
20
call_user_func
…/vendor/illuminate/database/Connection.php926
19
Illuminate\Database\Connection
getPdo
…/vendor/illuminate/database/Connection.php961
18
Illuminate\Database\Connection
getReadPdo
…/vendor/illuminate/database/Connection.php405
17
Illuminate\Database\Connection
getPdoForSelect
…/vendor/illuminate/database/Connection.php331
16
Illuminate\Database\Connection
Illuminate\Database\{closure}
…/vendor/illuminate/database/Connection.php664
15
Illuminate\Database\Connection
runQueryCallback
…/vendor/illuminate/database/Connection.php745
14
Illuminate\Database\Connection
tryAgainIfCausedByLostConnection
…/vendor/illuminate/database/Connection.php725
13
Illuminate\Database\Connection
handleQueryException
…/vendor/illuminate/database/Connection.php634
12
Illuminate\Database\Connection
run
…/vendor/illuminate/database/Connection.php339
11
Illuminate\Database\Connection
select
…/vendor/illuminate/database/Query/Builder.php2270
10
Illuminate\Database\Query\Builder
runSelect
…/vendor/illuminate/database/Query/Builder.php2258
9
Illuminate\Database\Query\Builder
Illuminate\Database\Query\{closure}
…/vendor/illuminate/database/Query/Builder.php2753
8
Illuminate\Database\Query\Builder
onceWithColumns
…/vendor/illuminate/database/Query/Builder.php2259
7
Illuminate\Database\Query\Builder
get
…/vendor/illuminate/database/Query/Builder.php2680
6
Illuminate\Database\Query\Builder
aggregate
…/vendor/illuminate/database/Query/Builder.php2608
5
Illuminate\Database\Query\Builder
count
…/vendor/illuminate/database/Eloquent/Builder.php1422
4
Illuminate\Database\Eloquent\Builder
__call
…/template/default/category.php79
3
require
…/src/Controllers/BaseController.php51
2
App\Controllers\BaseController
display
…/src/Controllers/CategoriesController.php72
1
App\Controllers\CategoriesController
showCategory
…/src/routes.php105
0
require
…/public/index.php19
/data/sites2/pornpic/vendor/illuminate/database/Connection.php
* @param array $bindings
* @param \Closure $callback
* @return mixed
*
* @throws \Illuminate\Database\QueryException
*/
protected function runQueryCallback($query, $bindings, Closure $callback)
{
// To execute the statement, we'll simply call the callback, which will actually
// run the SQL against the PDO connection. Then we can calculate the time it
// took to execute and log the query SQL, bindings and time in our memory.
try {
$result = $callback($query, $bindings);
}
// If an exception occurs when attempting to run a query, we'll format the error
// message to include the bindings with SQL, which will make this exception a
// lot more helpful to the developer instead of just the database's errors.
catch (Exception $e) {
throw new QueryException(
$query, $this->prepareBindings($bindings), $e
);
}
return $result;
}
/**
* Log a query in the connection's query log.
*
* @param string $query
* @param array $bindings
* @param float|null $time
* @return void
*/
public function logQuery($query, $bindings, $time = null)
{
$this->event(new QueryExecuted($query, $bindings, $time, $this));
if ($this->loggingQueries) {
/data/sites2/pornpic/vendor/illuminate/database/Connectors/Connector.php
);
}
}
/**
* Create a new PDO connection instance.
*
* @param string $dsn
* @param string $username
* @param string $password
* @param array $options
* @return \PDO
*/
protected function createPdoConnection($dsn, $username, $password, $options)
{
if (class_exists(PDOConnection::class) && ! $this->isPersistentConnection($options)) {
return new PDOConnection($dsn, $username, $password, $options);
}
return new PDO($dsn, $username, $password, $options);
}
/**
* Determine if the connection is persistent.
*
* @param array $options
* @return bool
*/
protected function isPersistentConnection($options)
{
return isset($options[PDO::ATTR_PERSISTENT]) &&
$options[PDO::ATTR_PERSISTENT];
}
/**
* Handle an exception that occurred during connect execution.
*
* @param \Throwable $e
* @param string $dsn
* @param string $username
Exception message:
SQLSTATE[HY000] [2002] No such file or directory
/data/sites2/pornpic/vendor/illuminate/database/Connectors/Connector.php
);
}
}
/**
* Create a new PDO connection instance.
*
* @param string $dsn
* @param string $username
* @param string $password
* @param array $options
* @return \PDO
*/
protected function createPdoConnection($dsn, $username, $password, $options)
{
if (class_exists(PDOConnection::class) && ! $this->isPersistentConnection($options)) {
return new PDOConnection($dsn, $username, $password, $options);
}
return new PDO($dsn, $username, $password, $options);
}
/**
* Determine if the connection is persistent.
*
* @param array $options
* @return bool
*/
protected function isPersistentConnection($options)
{
return isset($options[PDO::ATTR_PERSISTENT]) &&
$options[PDO::ATTR_PERSISTENT];
}
/**
* Handle an exception that occurred during connect execution.
*
* @param \Throwable $e
* @param string $dsn
* @param string $username
/data/sites2/pornpic/vendor/illuminate/database/Connectors/Connector.php
/**
* Create a new PDO connection.
*
* @param string $dsn
* @param array $config
* @param array $options
* @return \PDO
*
* @throws \Exception
*/
public function createConnection($dsn, array $config, array $options)
{
[$username, $password] = [
$config['username'] ?? null, $config['password'] ?? null,
];
try {
return $this->createPdoConnection(
$dsn, $username, $password, $options
);
} catch (Exception $e) {
return $this->tryAgainIfCausedByLostConnection(
$e, $dsn, $username, $password, $options
);
}
}
/**
* Create a new PDO connection instance.
*
* @param string $dsn
* @param string $username
* @param string $password
* @param array $options
* @return \PDO
*/
protected function createPdoConnection($dsn, $username, $password, $options)
{
if (class_exists(PDOConnection::class) && ! $this->isPersistentConnection($options)) {
/data/sites2/pornpic/vendor/illuminate/database/Connectors/MySqlConnector.php
use PDO;
class MySqlConnector extends Connector implements ConnectorInterface
{
/**
* Establish a database connection.
*
* @param array $config
* @return \PDO
*/
public function connect(array $config)
{
$dsn = $this->getDsn($config);
$options = $this->getOptions($config);
// We need to grab the PDO options that should be used while making the brand
// new connection instance. The PDO options control various aspects of the
// connection's behavior, and some might be specified by the developers.
$connection = $this->createConnection($dsn, $config, $options);
if (! empty($config['database'])) {
$connection->exec("use `{$config['database']}`;");
}
$this->configureIsolationLevel($connection, $config);
$this->configureEncoding($connection, $config);
// Next, we will check to see if a timezone has been specified in this config
// and if it has we will issue a statement to modify the timezone with the
// database. Setting this DB timezone is an optional configuration item.
$this->configureTimezone($connection, $config);
$this->setModes($connection, $config);
return $connection;
}
/**
/data/sites2/pornpic/vendor/illuminate/database/Connectors/ConnectionFactory.php
? $this->createPdoResolverWithHosts($config)
: $this->createPdoResolverWithoutHosts($config);
}
/**
* Create a new Closure that resolves to a PDO instance with a specific host or an array of hosts.
*
* @param array $config
* @return \Closure
*
* @throws \PDOException
*/
protected function createPdoResolverWithHosts(array $config)
{
return function () use ($config) {
foreach (Arr::shuffle($hosts = $this->parseHosts($config)) as $key => $host) {
$config['host'] = $host;
try {
return $this->createConnector($config)->connect($config);
} catch (PDOException $e) {
continue;
}
}
throw $e;
};
}
/**
* Parse the hosts configuration item into an array.
*
* @param array $config
* @return array
*
* @throws \InvalidArgumentException
*/
protected function parseHosts(array $config)
{
$hosts = Arr::wrap($config['host']);
/data/sites2/pornpic/vendor/illuminate/database/Connection.php
$this->doctrineConnection = new DoctrineConnection(array_filter([
'pdo' => $this->getPdo(),
'dbname' => $this->getDatabaseName(),
'driver' => $driver->getName(),
'serverVersion' => $this->getConfig('server_version'),
]), $driver);
}
return $this->doctrineConnection;
}
/**
* Get the current PDO connection.
*
* @return \PDO
*/
public function getPdo()
{
if ($this->pdo instanceof Closure) {
return $this->pdo = call_user_func($this->pdo);
}
return $this->pdo;
}
/**
* Get the current PDO connection parameter without executing any reconnect logic.
*
* @return \PDO|\Closure|null
*/
public function getRawPdo()
{
return $this->pdo;
}
/**
* Get the current PDO connection used for reading.
*
* @return \PDO
*/
/data/sites2/pornpic/vendor/illuminate/database/Connection.php
$this->doctrineConnection = new DoctrineConnection(array_filter([
'pdo' => $this->getPdo(),
'dbname' => $this->getDatabaseName(),
'driver' => $driver->getName(),
'serverVersion' => $this->getConfig('server_version'),
]), $driver);
}
return $this->doctrineConnection;
}
/**
* Get the current PDO connection.
*
* @return \PDO
*/
public function getPdo()
{
if ($this->pdo instanceof Closure) {
return $this->pdo = call_user_func($this->pdo);
}
return $this->pdo;
}
/**
* Get the current PDO connection parameter without executing any reconnect logic.
*
* @return \PDO|\Closure|null
*/
public function getRawPdo()
{
return $this->pdo;
}
/**
* Get the current PDO connection used for reading.
*
* @return \PDO
*/
/data/sites2/pornpic/vendor/illuminate/database/Connection.php
/**
* Get the current PDO connection used for reading.
*
* @return \PDO
*/
public function getReadPdo()
{
if ($this->transactions > 0) {
return $this->getPdo();
}
if ($this->recordsModified && $this->getConfig('sticky')) {
return $this->getPdo();
}
if ($this->readPdo instanceof Closure) {
return $this->readPdo = call_user_func($this->readPdo);
}
return $this->readPdo ?: $this->getPdo();
}
/**
* Get the current read PDO connection parameter without executing any reconnect logic.
*
* @return \PDO|\Closure|null
*/
public function getRawReadPdo()
{
return $this->readPdo;
}
/**
* Set the PDO connection.
*
* @param \PDO|\Closure|null $pdo
* @return $this
*/
public function setPdo($pdo)
{
/data/sites2/pornpic/vendor/illuminate/database/Connection.php
protected function prepared(PDOStatement $statement)
{
$statement->setFetchMode($this->fetchMode);
$this->event(new StatementPrepared(
$this, $statement
));
return $statement;
}
/**
* Get the PDO connection to use for a select query.
*
* @param bool $useReadPdo
* @return \PDO
*/
protected function getPdoForSelect($useReadPdo = true)
{
return $useReadPdo ? $this->getReadPdo() : $this->getPdo();
}
/**
* Run an insert statement against the database.
*
* @param string $query
* @param array $bindings
* @return bool
*/
public function insert($query, $bindings = [])
{
return $this->statement($query, $bindings);
}
/**
* Run an update statement against the database.
*
* @param string $query
* @param array $bindings
* @return int
/data/sites2/pornpic/vendor/illuminate/database/Connection.php
/**
* Run a select statement against the database.
*
* @param string $query
* @param array $bindings
* @param bool $useReadPdo
* @return array
*/
public function select($query, $bindings = [], $useReadPdo = true)
{
return $this->run($query, $bindings, function ($query, $bindings) use ($useReadPdo) {
if ($this->pretending()) {
return [];
}
// For select statements, we'll simply execute the query and return an array
// of the database result set. Each element in the array will be a single
// row from the database table, and will either be an array or objects.
$statement = $this->prepared(
$this->getPdoForSelect($useReadPdo)->prepare($query)
);
$this->bindValues($statement, $this->prepareBindings($bindings));
$statement->execute();
return $statement->fetchAll();
});
}
/**
* Run a select statement against the database and returns a generator.
*
* @param string $query
* @param array $bindings
* @param bool $useReadPdo
* @return \Generator
*/
public function cursor($query, $bindings = [], $useReadPdo = true)
{
/data/sites2/pornpic/vendor/illuminate/database/Connection.php
return $result;
}
/**
* Run a SQL statement.
*
* @param string $query
* @param array $bindings
* @param \Closure $callback
* @return mixed
*
* @throws \Illuminate\Database\QueryException
*/
protected function runQueryCallback($query, $bindings, Closure $callback)
{
// To execute the statement, we'll simply call the callback, which will actually
// run the SQL against the PDO connection. Then we can calculate the time it
// took to execute and log the query SQL, bindings and time in our memory.
try {
$result = $callback($query, $bindings);
}
// If an exception occurs when attempting to run a query, we'll format the error
// message to include the bindings with SQL, which will make this exception a
// lot more helpful to the developer instead of just the database's errors.
catch (Exception $e) {
throw new QueryException(
$query, $this->prepareBindings($bindings), $e
);
}
return $result;
}
/**
* Log a query in the connection's query log.
*
* @param string $query
* @param array $bindings
* @param float|null $time
/data/sites2/pornpic/vendor/illuminate/database/Connection.php
);
}
/**
* Handle a query exception that occurred during query execution.
*
* @param \Illuminate\Database\QueryException $e
* @param string $query
* @param array $bindings
* @param \Closure $callback
* @return mixed
*
* @throws \Illuminate\Database\QueryException
*/
protected function tryAgainIfCausedByLostConnection(QueryException $e, $query, $bindings, Closure $callback)
{
if ($this->causedByLostConnection($e->getPrevious())) {
$this->reconnect();
return $this->runQueryCallback($query, $bindings, $callback);
}
throw $e;
}
/**
* Reconnect to the database.
*
* @return void
*
* @throws \LogicException
*/
public function reconnect()
{
if (is_callable($this->reconnector)) {
$this->doctrineConnection = null;
return call_user_func($this->reconnector, $this);
}
/data/sites2/pornpic/vendor/illuminate/database/Connection.php
/**
* Handle a query exception.
*
* @param \Illuminate\Database\QueryException $e
* @param string $query
* @param array $bindings
* @param \Closure $callback
* @return mixed
*
* @throws \Illuminate\Database\QueryException
*/
protected function handleQueryException(QueryException $e, $query, $bindings, Closure $callback)
{
if ($this->transactions >= 1) {
throw $e;
}
return $this->tryAgainIfCausedByLostConnection(
$e, $query, $bindings, $callback
);
}
/**
* Handle a query exception that occurred during query execution.
*
* @param \Illuminate\Database\QueryException $e
* @param string $query
* @param array $bindings
* @param \Closure $callback
* @return mixed
*
* @throws \Illuminate\Database\QueryException
*/
protected function tryAgainIfCausedByLostConnection(QueryException $e, $query, $bindings, Closure $callback)
{
if ($this->causedByLostConnection($e->getPrevious())) {
$this->reconnect();
return $this->runQueryCallback($query, $bindings, $callback);
/data/sites2/pornpic/vendor/illuminate/database/Connection.php
* @param array $bindings
* @param \Closure $callback
* @return mixed
*
* @throws \Illuminate\Database\QueryException
*/
protected function run($query, $bindings, Closure $callback)
{
$this->reconnectIfMissingConnection();
$start = microtime(true);
// Here we will run this query. If an exception occurs we'll determine if it was
// caused by a connection that has been lost. If that is the cause, we'll try
// to re-establish connection and re-run the query with a fresh connection.
try {
$result = $this->runQueryCallback($query, $bindings, $callback);
} catch (QueryException $e) {
$result = $this->handleQueryException(
$e, $query, $bindings, $callback
);
}
// Once we have run the query we will calculate the time that it took to run and
// then log the query, bindings, and execution time so we will report them on
// the event that the developer needs them. We'll log time in milliseconds.
$this->logQuery(
$query, $bindings, $this->getElapsedTime($start)
);
return $result;
}
/**
* Run a SQL statement.
*
* @param string $query
* @param array $bindings
* @param \Closure $callback
* @return mixed
/data/sites2/pornpic/vendor/illuminate/database/Connection.php
public function select($query, $bindings = [], $useReadPdo = true)
{
return $this->run($query, $bindings, function ($query, $bindings) use ($useReadPdo) {
if ($this->pretending()) {
return [];
}
// For select statements, we'll simply execute the query and return an array
// of the database result set. Each element in the array will be a single
// row from the database table, and will either be an array or objects.
$statement = $this->prepared(
$this->getPdoForSelect($useReadPdo)->prepare($query)
);
$this->bindValues($statement, $this->prepareBindings($bindings));
$statement->execute();
return $statement->fetchAll();
});
}
/**
* Run a select statement against the database and returns a generator.
*
* @param string $query
* @param array $bindings
* @param bool $useReadPdo
* @return \Generator
*/
public function cursor($query, $bindings = [], $useReadPdo = true)
{
$statement = $this->run($query, $bindings, function ($query, $bindings) use ($useReadPdo) {
if ($this->pretending()) {
return [];
}
// First we will create a statement for the query. Then, we will set the fetch
// mode and prepare the bindings for the query. Once that's done we will be
// ready to execute the query against the database and return the cursor.
/data/sites2/pornpic/vendor/illuminate/database/Query/Builder.php
*
* @param array|string $columns
* @return \Illuminate\Support\Collection
*/
public function get($columns = ['*'])
{
return collect($this->onceWithColumns(Arr::wrap($columns), function () {
return $this->processor->processSelect($this, $this->runSelect());
}));
}
/**
* Run the query as a "select" statement against the connection.
*
* @return array
*/
protected function runSelect()
{
return $this->connection->select(
$this->toSql(), $this->getBindings(), ! $this->useWritePdo
);
}
/**
* Paginate the given query into a simple paginator.
*
* @param int $perPage
* @param array $columns
* @param string $pageName
* @param int|null $page
* @return \Illuminate\Contracts\Pagination\LengthAwarePaginator
*/
public function paginate($perPage = 15, $columns = ['*'], $pageName = 'page', $page = null)
{
$page = $page ?: Paginator::resolveCurrentPage($pageName);
$total = $this->getCountForPagination();
$results = $total ? $this->forPage($page, $perPage)->get($columns) : collect();
/data/sites2/pornpic/vendor/illuminate/database/Query/Builder.php
* @param string $column
* @return mixed
*/
public function value($column)
{
$result = (array) $this->first([$column]);
return count($result) > 0 ? reset($result) : null;
}
/**
* Execute the query as a "select" statement.
*
* @param array|string $columns
* @return \Illuminate\Support\Collection
*/
public function get($columns = ['*'])
{
return collect($this->onceWithColumns(Arr::wrap($columns), function () {
return $this->processor->processSelect($this, $this->runSelect());
}));
}
/**
* Run the query as a "select" statement against the connection.
*
* @return array
*/
protected function runSelect()
{
return $this->connection->select(
$this->toSql(), $this->getBindings(), ! $this->useWritePdo
);
}
/**
* Paginate the given query into a simple paginator.
*
* @param int $perPage
* @param array $columns
/data/sites2/pornpic/vendor/illuminate/database/Query/Builder.php
}
/**
* Execute the given callback while selecting the given columns.
*
* After running the callback, the columns are reset to the original value.
*
* @param array $columns
* @param callable $callback
* @return mixed
*/
protected function onceWithColumns($columns, $callback)
{
$original = $this->columns;
if (is_null($original)) {
$this->columns = $columns;
}
$result = $callback();
$this->columns = $original;
return $result;
}
/**
* Insert a new record into the database.
*
* @param array $values
* @return bool
*/
public function insert(array $values)
{
// Since every insert gets treated like a batch insert, we will make sure the
// bindings are structured in a way that is convenient when building these
// inserts statements by verifying these elements are actually an array.
if (empty($values)) {
return true;
}
/data/sites2/pornpic/vendor/illuminate/database/Query/Builder.php
* @return mixed
*/
public function value($column)
{
$result = (array) $this->first([$column]);
return count($result) > 0 ? reset($result) : null;
}
/**
* Execute the query as a "select" statement.
*
* @param array|string $columns
* @return \Illuminate\Support\Collection
*/
public function get($columns = ['*'])
{
return collect($this->onceWithColumns(Arr::wrap($columns), function () {
return $this->processor->processSelect($this, $this->runSelect());
}));
}
/**
* Run the query as a "select" statement against the connection.
*
* @return array
*/
protected function runSelect()
{
return $this->connection->select(
$this->toSql(), $this->getBindings(), ! $this->useWritePdo
);
}
/**
* Paginate the given query into a simple paginator.
*
* @param int $perPage
* @param array $columns
* @param string $pageName
/data/sites2/pornpic/vendor/illuminate/database/Query/Builder.php
* @return mixed
*/
public function average($column)
{
return $this->avg($column);
}
/**
* Execute an aggregate function on the database.
*
* @param string $function
* @param array $columns
* @return mixed
*/
public function aggregate($function, $columns = ['*'])
{
$results = $this->cloneWithout($this->unions ? [] : ['columns'])
->cloneWithoutBindings($this->unions ? [] : ['select'])
->setAggregate($function, $columns)
->get($columns);
if (! $results->isEmpty()) {
return array_change_key_case((array) $results[0])['aggregate'];
}
}
/**
* Execute a numeric aggregate function on the database.
*
* @param string $function
* @param array $columns
* @return float|int
*/
public function numericAggregate($function, $columns = ['*'])
{
$result = $this->aggregate($function, $columns);
// If there is no result, we can obviously just return 0 here. Next, we will check
// if the result is an integer or float. If it is already one of these two data
// types we can just return the result as-is, otherwise we will convert this.
/data/sites2/pornpic/vendor/illuminate/database/Query/Builder.php
/**
* Execute the given callback if rows exist for the current query.
*
* @param \Closure $callback
* @return mixed
*/
public function doesntExistOr(Closure $callback)
{
return $this->doesntExist() ? true : $callback();
}
/**
* Retrieve the "count" result of the query.
*
* @param string $columns
* @return int
*/
public function count($columns = '*')
{
return (int) $this->aggregate(__FUNCTION__, Arr::wrap($columns));
}
/**
* Retrieve the minimum value of a given column.
*
* @param string $column
* @return mixed
*/
public function min($column)
{
return $this->aggregate(__FUNCTION__, [$column]);
}
/**
* Retrieve the maximum value of a given column.
*
* @param string $column
* @return mixed
*/
public function max($column)
/data/sites2/pornpic/vendor/illuminate/database/Eloquent/Builder.php
return $this->localMacros[$method](...$parameters);
}
if (static::hasGlobalMacro($method)) {
$callable = static::$macros[$method];
if ($callable instanceof Closure) {
$callable = $callable->bindTo($this, static::class);
}
return $callable(...$parameters);
}
if ($this->hasNamedScope($method)) {
return $this->callNamedScope($method, $parameters);
}
if (in_array($method, $this->passthru)) {
return $this->toBase()->{$method}(...$parameters);
}
$this->forwardCallTo($this->query, $method, $parameters);
return $this;
}
/**
* Dynamically handle calls into the query instance.
*
* @param string $method
* @param array $parameters
* @return mixed
*
* @throws \BadMethodCallException
*/
public static function __callStatic($method, $parameters)
{
if ($method === 'macro') {
static::$macros[$parameters[0]] = $parameters[1];
/data/sites2/pornpic/template/default/category.php
<article class="grid-item item col-6 col-sm-6 col-lg-4 col-xl-2">
<iframe style="background-color: white;" width="100%" height="250" scrolling="no" frameborder="0" allowtransparency="true" marginheight="0" marginwidth="0" name="spot_id_10002799" src="//a.adtng.com/get/10002799?ata=racerx10"></iframe>
</article>
<?php endif;?>
<?php if($itemNum === 2): ?> <article class="grid-item item col-6 col-sm-6 col-lg-4 col-xl-2">
<iframe src="https://gorillatraffic.xyz/banner2.php" scrolling="no" style="margin: 0 auto; border: none; display: block; background-color: transparent; max-width: 100%; max-height: 100%; width: 300px; height: 250px;"></iframe>
</article>
<?php endif;?>
<article class="grid-item item col-6 col-sm-6 col-lg-4 col-xl-2">
<a href="/gallery/<?= $gallery->slug ?>" class="item-link" title="<?=$gallery->title?>">
<span class="item-thumb">
<img src="/media/galleries/<?= $gallery->thumb ?>" alt="<?=$gallery->title?>"/>
</span>
<span class="item-overlay bottom-left"><i
class="fa fa-calendar"></i> <?= Carbon::parse($gallery->created_at)->diffForHumans() ?></span>
<span class="item-overlay bottom-right"><i
class="fa fa-picture-o"></i> <?= GalleryImage::where('gallery_id', '=', $gallery->gallery_id)->count() ?></span>
</a>
</article>
<?php $itemNum++; ?>
<?php endforeach; ?>
<?php endif; ?>
</section>
<section>
<?= $this->data->pagination ?>
</section>
</div>
</main>
<?php require 'partials/footer.php' ?>
/data/sites2/pornpic/src/Controllers/BaseController.php
} else {
$this->data = $data;
}
if(empty($meta)) {
$meta = [
'title' => '',
'description' => '',
'keywords' => '',
];
}
if (is_array($meta)) {
$this->meta = (object)$meta;
} else {
$this->meta = $meta;
}
require $this->template . '/' . $templateFile . '.php';
}
public function show404(): void
{
http_response_code('404');
$this->display('errors/404', '', '');
exit;
}
}
/data/sites2/pornpic/src/Controllers/CategoriesController.php
->skip($this->pagination->start())
->select('galleries.*', 'gallery_images.thumb')
->get();
}
$data = [
'galleries' => $galleries,
'relatedCategories' => $relatedCategories,
'category' => $category->name,
'pagination' => $this->pagination->render($items, '/' . $categorySlug . '?', '='),
];
$meta = [
'title' => $category->title,
'keywords' => $category->title . ',porn, pornpics, images, photos',
'description' => 'Latest pornpics galleries in '.$category->title.' category',
];
$this->display('category', $data, $meta);
}
}
/data/sites2/pornpic/src/routes.php
break;
case 'creator':
//ini_set('display_errors', 1);
//ini_set('display_startup_errors', 1);
//error_reporting(E_ALL);
if (isset($_GET['slug'])) {
(new CreatorsController())->showCreatorMedia($_GET['slug']);
} else {
(new BaseController())->show404();
}
break;
case 'search':
(new SearchController())->showSearch($_GET['q'], $_GET['type']);
break;
case (isset($_GET['do']) && empty($_GET['slug']) && empty($_GET['show'])):
(new CategoriesController())->showCategory($_GET['do']);
break;
case 'page':
if ($_GET['slug'] == '2257') {
(new PageController())->show2257();
} elseif ($_GET['slug'] == 'advertising') {
(new PageController())->showAdvertising();
} elseif ($_GET['slug'] == 'contact') {
(new PageController())->showContact();
} elseif ($_GET['slug'] == 'dmca') {
(new PageController())->showDmca();
} elseif ($_GET['slug'] == 'feedback') {
(new PageController())->showFeedback();
} elseif ($_GET['slug'] == 'jobs') {
(new PageController())->showJobs();
} elseif ($_GET['slug'] == 'privacy') {
(new PageController())->showPrivacy();
} elseif ($_GET['slug'] == 'terms') {
(new PageController())->showTerms();
} elseif ($_GET['slug'] == 'cookies') {
/data/sites2/pornpic/public/index.php
<?php
//date_default_timezone_set('America/New_York');
require __DIR__ . '/../bootstrap/start.php';
use Whoops\Run;
use Whoops\Handler\PrettyPageHandler;
use App\System\Config;
$config = new Config();
if($config->app->errors === true) {
$whoops = new Run;
$whoops->pushHandler(new PrettyPageHandler);
$whoops->register();
}
require __DIR__ . '/../src/routes.php';
Environment & details:
Key | Value |
do | sexy-big-boobs |
empty
empty
Key | Value |
PHPSESSID | 2urp63ukicfirjaaa5paf68r8i |
Key | Value |
token | b31dcc3bf01dbdcdfc64201a7308e5da664e916e |
Key | Value |
USER | www-data |
HOME | /var/www |
HTTP_CF_VISITOR | {"scheme":"https"} |
HTTP_CF_IPCOUNTRY | US |
HTTP_CF_CONNECTING_IP | 216.73.216.238 |
HTTP_CDN_LOOP | cloudflare; loops=1 |
HTTP_X_FORWARDED_PROTO | https |
HTTP_X_FORWARDED_FOR | 216.73.216.238 |
HTTP_CF_RAY | 952b7cb03a500cda-ORD |
HTTP_ACCEPT_ENCODING | gzip, br |
HTTP_COOKIE | PHPSESSID=2urp63ukicfirjaaa5paf68r8i |
HTTP_ACCEPT | */* |
HTTP_USER_AGENT | Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; [email protected]) |
HTTP_HOST | www.pornpic.com |
REDIRECT_STATUS | 200 |
SERVER_NAME | pornpic.com |
SERVER_PORT | 443 |
SERVER_ADDR | 54.39.52.6 |
REMOTE_PORT | 11590 |
REMOTE_ADDR | 172.69.17.176 |
SERVER_SOFTWARE | nginx/1.18.0 |
GATEWAY_INTERFACE | CGI/1.1 |
HTTPS | on |
REQUEST_SCHEME | https |
SERVER_PROTOCOL | HTTP/1.1 |
DOCUMENT_ROOT | /data/sites2/pornpic/public |
DOCUMENT_URI | /index.php |
REQUEST_URI | /sexy-big-boobs |
SCRIPT_NAME | /index.php |
CONTENT_LENGTH | |
CONTENT_TYPE | |
REQUEST_METHOD | GET |
QUERY_STRING | do=sexy-big-boobs |
SCRIPT_FILENAME | /data/sites2/pornpic/public/index.php |
PATH_INFO | |
FCGI_ROLE | RESPONDER |
PHP_SELF | /index.php |
REQUEST_TIME_FLOAT | 1750424824.3655 |
REQUEST_TIME | 1750424824 |
empty
0. Whoops\Handler\PrettyPageHandler