HEX
Server: Apache
System: Linux 4485441ca2e2 6.8.0-1039-aws #41~22.04.1-Ubuntu SMP Thu Sep 11 11:03:07 UTC 2025 aarch64
User: (1000)
PHP: 8.2.24
Disabled: NONE
Upload Files
File: /var/www/html/wp-content/plugins/ganryu_shop/action/Add.php
<?php

require_once dirname(__FILE__).'/Abstract.php';

class ganryu_shop_action_Add extends ganryu_shop_action_Abstract{

	function action(){
		$cf = $this->loadModel('Config');
		$res = $cf->getItemTypeList();
		if (!$res){
			$this->error('カテゴリ一覧が取得できません');
			return;
		}
		$typelist = $res['typelist'];
		$tmpldata = array('data'=>array(), 'typelist'=>$typelist, 'msg'=>array());
		$this->attachTemplate('admin/addform', $tmpldata);
	}
	

}