2025-08-10 09:35:25 +00:00 
										
									 
								 
							 
							
								
							 
							
								 
							 
							
							
								< ? php 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								/** 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								 *  @ var  \App\View\AppView  $this 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								 *  @ var  \Cake\Datasource\EntityInterface  $productPhoto 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								 */ 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								?> 
 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								< div  class = " row " > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								    < aside  class = " column " > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								        < div  class = " side-nav " > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								            < h4  class = " heading " >< ? =  __ ( 'Actions' )  ?> </h4>
 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								            < ? =  $this -> Html -> link ( __ ( 'Edit Product Photo' ),  [ 'action'  =>  'edit' ,  $productPhoto -> id ],  [ 'class'  =>  'side-nav-item' ])  ?> 
 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								            < ? =  $this -> Form -> postLink ( __ ( 'Delete Product Photo' ),  [ 'action'  =>  'delete' ,  $productPhoto -> id ],  [ 'confirm'  =>  __ ( 'Are you sure you want to delete # {0}?' ,  $productPhoto -> id ),  'class'  =>  'side-nav-item' ])  ?> 
 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								            < ? =  $this -> Html -> link ( __ ( 'List Product Photos' ),  [ 'action'  =>  'index' ],  [ 'class'  =>  'side-nav-item' ])  ?> 
 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								            < ? =  $this -> Html -> link ( __ ( 'New Product Photo' ),  [ 'action'  =>  'add' ],  [ 'class'  =>  'side-nav-item' ])  ?> 
 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								        </ div > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								    </ aside > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								    < div  class = " column column-80 " > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								        < div  class = " productPhotos view content " > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								            < h3 >< ? =  h ( $productPhoto -> photo_filename )  ?> </h3>
 
							 
						 
					
						
							
								
									
										
										
										
											2025-09-01 07:46:18 +00:00 
										
									 
								 
							 
							
								
									
										 
									 
								
							 
							
								 
							 
							
							
								            < img  src = " <?=  $this->Url ->build([
 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								                    'action'  =>  'image' , 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								                    $productPhoto -> id , 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								            ]);  ?> " alt="<?= $productPhoto->id; ?>"/>
 
							 
						 
					
						
							
								
									
										
										
										
											2025-08-10 09:35:25 +00:00 
										
									 
								 
							 
							
								
							 
							
								 
							 
							
							
								            < table > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								                < tr > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								                    < th >< ? =  __ ( 'Id' )  ?> </th>
 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								                    < td >< ? =  h ( $productPhoto -> id )  ?> </td>
 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								                </ tr > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								                < tr > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								                    < th >< ? =  __ ( 'Product' )  ?> </th>
 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								                    < td >< ? =  $productPhoto -> hasValue ( 'product' )  ?  $this -> Html -> link ( $productPhoto -> product -> name ,  [ 'controller'  =>  'Products' ,  'action'  =>  'view' ,  $productPhoto -> product -> id ])  :  ''  ?> </td>
 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								                </ tr > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								                < tr > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								                    < th >< ? =  __ ( 'Product Sku Id' )  ?> </th>
 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								                    < td >< ? =  h ( $productPhoto -> product_sku_id )  ?> </td>
 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								                </ tr > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								                < tr > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								                    < th >< ? =  __ ( 'Photo Filename' )  ?> </th>
 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								                    < td >< ? =  h ( $productPhoto -> photo_filename )  ?> </td>
 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								                </ tr > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								                < tr > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								                    < th >< ? =  __ ( 'Photo Position' )  ?> </th>
 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								                    < td >< ? =  $this -> Number -> format ( $productPhoto -> photo_position )  ?> </td>
 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								                </ tr > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								                < tr > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								                    < th >< ? =  __ ( 'Created' )  ?> </th>
 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								                    < td >< ? =  h ( $productPhoto -> created )  ?> </td>
 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								                </ tr > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								                < tr > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								                    < th >< ? =  __ ( 'Modified' )  ?> </th>
 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								                    < td >< ? =  h ( $productPhoto -> modified )  ?> </td>
 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								                </ tr > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								                < tr > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								                    < th >< ? =  __ ( 'Deleted' )  ?> </th>
 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								                    < td >< ? =  h ( $productPhoto -> deleted )  ?> </td>
 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								                </ tr > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								                < tr > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								                    < th >< ? =  __ ( 'Primary Photo' )  ?> </th>
 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								                    < td >< ? =  $productPhoto -> primary_photo  ?  __ ( 'Yes' )  :  __ ( 'No' );  ?> </td>
 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								                </ tr > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								                < tr > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								                    < th >< ? =  __ ( 'Enabled' )  ?> </th>
 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								                    < td >< ? =  $productPhoto -> enabled  ?  __ ( 'Yes' )  :  __ ( 'No' );  ?> </td>
 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								                </ tr > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								            </ table > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								            < div  class = " text " > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								                < strong >< ? =  __ ( 'Photo Dir' )  ?> </strong>
 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								                < blockquote > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								                    < ? =  $this -> Text -> autoParagraph ( h ( $productPhoto -> photo_dir ));  ?> 
 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								                </ blockquote > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								            </ div > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								        </ div > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								    </ div > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								</ div >