- Created XmlFiles control class for handling XML file views and regeneration. - Implemented method to retrieve clients with XML feeds in the factory class. - Added database migration to include google_merchant_account_id in clients table. - Created migrations for products_keyword_planner_terms and products_merchant_sync_log tables. - Added campaign_keywords table migration for managing campaign keyword data. - Developed main view template for displaying XML files and their statuses. - Introduced a debug script for analyzing product URLs and their statuses.
20 lines
396 B
PHP
20 lines
396 B
PHP
<?php
|
|
namespace view;
|
|
class Users
|
|
{
|
|
public static function points_history( $user )
|
|
{
|
|
$tpl = new \Tpl;
|
|
$tpl -> user = $user;
|
|
return $tpl -> render( 'users/points-history' );
|
|
}
|
|
|
|
public static function settings( $user, $cron_data = [] )
|
|
{
|
|
$tpl = new \Tpl;
|
|
$tpl -> user = $user;
|
|
$tpl -> cron_data = $cron_data;
|
|
return $tpl -> render( 'users/settings' );
|
|
}
|
|
}
|