Code Context $xml = $this->get_xmp_array($xmp_data);
foreach($xml['Seq'] as $row) {
$single_data = array();
$item_details =
[
'path_root' => '/media/images/IMAGES DONE 2/',
'drive' => 'D',
'originalpath' => 'D:/Images/Images Done 2/Library/SF101/119884.jpg',
'FileSize' => '324 KB',
'is_book' => false,
'keywords' => 'Football',
'real_path' => '/media/images/IMAGES DONE 2/Library/SF101/',
'path' => 'Library/SF101/119884',
'file_path' => 'https://www.sportsfile.com/web/winshare/p180/Library/SF101/',
'file_pathBig' => 'https://www.sportsfile.com/web/winshare/w540/Library/SF101/',
'file_pathSmall' => 'https://www.sportsfile.com/web/winshare/p180/Library/SF101/',
'file_name' => '119884.jpg',
'id' => '119884',
'sku' => '119884',
'image' => 'https://www.sportsfile.com/web/winshare/p180/Library/SF101/119884.jpg',
'imageBig' => 'https://www.sportsfile.com/web/winshare/p180/Library/SF101/119884.jpg',
'imageBigPreview' => 'https://www.sportsfile.com/web/winshare/w540/Library/SF101/119884.jpg',
'imageSmall' => 'https://www.sportsfile.com/web/winshare/p180/Library/SF101/119884.jpg',
'categorycode' => 'N/A',
'moreimages' => 'D0308007',
'headline' => 'Tyrone v Fermanagh',
'headlineTruncated' => 'Tyrone v Fermanagh',
'caption' => '3 August 2003; Raymond Gallagher, Fermanagh, in action against Tyrone's Sean Cavanagh. Bank of Ireland All-Ireland Senior Football Championship Quarter Final, Tyrone v Fermanagh, Croke Park, Dublin. Picture credit; Damien Eagers / SPORTSFILE *EDI*',
'DateCreated' => 'Sun, 03 Aug 2003 00:00:00 +0000',
'ShortDate' => '03 Aug 2003',
'LongDate' => 'Sunday 3rd Aug 2003',
'db_DateCreated' => '200308030000',
'event_images_count' => (int) 41,
'event_images_count_text' => '41 Images',
'parent_block' => '',
'parent_block_class' => '',
'image_link_url' => 'https://www.sportsfile.com/more-images/D0308007/',
'w' => '2016',
'h' => '1661',
'dimensions' => 'width='180'',
'mobile_dimensions' => 'style="width:100%;"',
'orientation' => 'horizontal',
'iptc_leadimage' => 'False',
'is_editorial' => 'false',
'is_hidden' => 'false',
'width' => (int) 2016,
'height' => (int) 1661,
'display_priority_timestamp' => (int) 0,
'event_group_lead_image' => 'f',
'page_sort' => (int) 0,
'date_sort' => (int) 0,
'display' => 'true',
'reindex' => 'false',
'alt' => '3 August 2003; Raymond Gallagher, Fermanagh, in action against Tyrone's Sean Cavanagh. Bank of Ireland All-Ireland Senior Football Championship Quarter Final, Tyrone v Fermanagh, Croke Park, Dublin. Picture credit; Damien Eagers / SPORTSFILE *EDI*',
'folderid' => (int) 5000,
'link' => 'https://www.sportsfile.com/id/119884/',
'purchase_item' => true,
'button' => '<a href='https://www.sportsfile.com/id/119884/'>Purchase This Print</a><br/>',
'single_image_link_text' => 'Purchase Print',
'gallery_actions_default' => '<div class="gallery-actions">
<a href="https://twitter.com/intent/tweet?url=https%3A%2F%2Fwww.sportsfile.com%2Fid%2F119884&via=sportsfile&related=sportsfile%3AIreland%27s+largest+sports+photography+agency.&text=Tyrone+v+Fermanagh" class="left" onclick="track_share_click('twitter');"><div class="icon-medium icon-medium-twitter"></div></a>
<a class="facebook left" target="_blank" onclick="track_share_click('facebook'); return !window.open(this.href, 'Facebook', 'width=640,height=300')" href="https://www.facebook.com/sharer/sharer.php?u=https://www.sportsfile.com/id/119884&t=Tyrone+v+Fermanagh"><div class="icon-medium icon-medium-facebook"></div></a>
<a href="https://www.sportsfile.com/id/119884/" class="text12 gallerylink right gallery-history-link">Purchase Print</a></div>',
'gallery_actions_corporate' => '<div class="gallery-actions corporate-box"></div>',
'permission_name' => 'access_5000',
'twitter_share_link' => 'https://twitter.com/intent/tweet?url=https%3A%2F%2Fwww.sportsfile.com%2Fid%2F119884&via=sportsfile&related=sportsfile%3AIreland%27s+largest+sports+photography+agency.&text=Tyrone+v+Fermanagh',
'facebook_share_link' => 'https://www.facebook.com/sharer/sharer.php?u=https://www.sportsfile.com/id/119884&t=Tyrone+v+Fermanagh',
'gallery_actions' => '<div class="gallery-actions">
<a href="https://twitter.com/intent/tweet?url=https%3A%2F%2Fwww.sportsfile.com%2Fid%2F119884&via=sportsfile&related=sportsfile%3AIreland%27s+largest+sports+photography+agency.&text=Tyrone+v+Fermanagh" class="left" onclick="track_share_click('twitter');"><div class="icon-medium icon-medium-twitter"></div></a>
<a class="facebook left" target="_blank" onclick="track_share_click('facebook'); return !window.open(this.href, 'Facebook', 'width=640,height=300')" href="https://www.facebook.com/sharer/sharer.php?u=https://www.sportsfile.com/id/119884&t=Tyrone+v+Fermanagh"><div class="icon-medium icon-medium-facebook"></div></a>
<a href="https://www.sportsfile.com/id/119884/" class="text12 gallerylink right gallery-history-link">Purchase Print</a></div>',
]
$sql = 'select user_activity_tbl.*,users_tbl.name from user_activity_tbl
inner join users_tbl on user_activity_tbl.user_id=users_tbl.user_id where path='Library/SF101/119884' and action like '%editorial_image'
order by id'
$conn = object(Cake\Database\Connection) id:0 {
'config' => [
'password' => '*****',
'username' => '*****',
'host' => '*****',
'database' => '*****',
'port' => '*****',
'driver' => 'Cake\Database\Driver\Postgres',
'persistent' => 'false',
'timezone' => 'UTC',
'flags' => [
],
'cacheMetadata' => true,
'log' => false,
'quoteIdentifiers' => false,
'datasource' => 'Database/Postgres',
'schema' => 'public',
'prefix' => '',
'encoding' => 'utf8',
'url' => null,
'name' => 'default',
]
'driver' => object(Cake\Database\Driver\Postgres) id:1 {
'connected' => true
}
'transactionLevel' => (int) 0
'transactionStarted' => false
'useSavePoints' => false
'logQueries' => true
'logger' => object(DebugKit\Database\Log\DebugLog) id:2 {
protected _queries => [
'' => [maximum depth reached],
]
protected _logger => null
protected _connectionName => 'default'
protected _totalTime => (int) 6
protected _totalRows => (int) 1
protected _includeSchema => false
}
}
$query = object(Cake\Database\Log\LoggingStatement) id:0 {
protected _logger => object(DebugKit\Database\Log\DebugLog) id:1 {
}
protected _compiledParams => [
]
protected startTime => (float) 1758141597.0592
protected loggedQuery => null
protected _statement => object(Cake\Database\Statement\PDOStatement) id:2 {
}
protected _driver => object(Cake\Database\Driver\Postgres) id:3 {
}
protected _hasExecuted => true
}
$editorial_history = [
]
$file = '/media/images/IMAGES DONE 2/Library/SF101/119884.jpg'
$var = [
'var' => [
'www_dir' => '/var/www/html',
'www_url' => 'http://www.sportsfile.com',
'web_dir' => '/var/www/html/src/webroot',
'web_url' => 'http://www.sportsfile.com',
'mod_dir' => '/var/www/html/mod/',
'mod_url' => 'http://www.sportsfile.com/mod/',
'cls_dir' => '/var/www/html/src/webroot/class/',
'cls_url' => 'http://www.sportsfile.com/class/',
'xml_dir' => '/var/www/html/src/webroot/xml/',
'img_dir' => '/var/www/html/src/webroot/images/',
'img_url' => 'http://www.sportsfile.com/images/',
'css_url' => 'http://www.sportsfile.com/css/',
'js_url' => 'http://www.sportsfile.com/js/',
'_mstart' => (float) 1758141597.0305,
'_log' => '',
'_onload' => '',
'_style' => '',
'_script' => '',
'_main' => 'main',
'_action' => 'main',
'_file' => 'main',
'_xmlact' => 'main.xml',
'_source' => 'post',
'www_index' => 'http://www.sportsfile.com/index.php',
'www_self' => 'http://www.sportsfile.com/id/119884',
'www_script' => 'http://www.sportsfile.com/index.php?action=main',
'ccode' => 'EUR',
'cname' => 'Euro',
'cicon' => '€',
'email_support' => 'liam@zeitsolutions.com',
'twitter_widgets_js' => '<script type="text/javascript" src="//platform.twitter.com/widgets.js"></script>',
],
'dataset' => [
'status' => [
(int) 1 => 'New Order',
(int) 2 => 'Sent To Printer',
(int) 3 => 'In Print',
(int) 4 => 'Cancelled',
(int) 5 => 'Posted',
],
],
]
$image_xmp_history = [
]
$key_data = [
'DRP' => 'Dropped',
'TXT' => 'Metadata Edited',
'ACT' => 'Sent to an Action',
]
$content = '��� JFIF � � ��3DExif MM * J R( �i Z x w@ ' w@ ' � � } � �( � 2f H H ��� JFIF � � �� C !"$"$�� C�� � �! ��
�� � } !1AQa"q2���#B��R��$3br�
%&'()*456789:CDEFGHIJSTUVWXYZcdefghijstuvwxyz������������������������������������������������������������������������
�� � w !1AQaq"2�B���� #3R�br�
$4�%�&'()*56789:CDEFGHIJSTUVWXYZcdefghijstuvwxyz����������������������������������������������������������������������� ? �cR�@����W�<�,%s���Q�:M4�ڛx=kY���j���h˙E \�g�,�%�+�WU7x؊��*�� ��Yb
����e֮
��ݍ�V�Ѫ����~�t+F�f�u`����\F�ݱ���#��
��A�QJ7&U\��H�WV�=s]���#~�-H�i�W��Agd� :W�[x�%� �9�Q\�S��7)���%�5��M.5�
㊇2���=GÖ��f �Ҥ��awfɀU�(%�x��<"4��$�r9ֱ����>A�%ec��[��z�2���|3�*@���3B����m(��g���Q��/u�q�Ҟ���J�C־j��j��P��sɟI��Q�;�Iq���Ж�͌^ǵ��������`���5������$�<�6�Ec�mI�'#p
���Hf\�}iB�7;*ڥDzW����_�M�1��R��8�$�>��_G�<���isZ��̑�»�'vܖ<py�隸�È�m]s_�d�� ��Ė2 v�)
�Qv�9;��_4=o@o�^
���ɕ�ԭ�M�ͱ�<ю1�<
�$�A�GWc(�3��k���/QZz߉LV��֜�J��3ɼW,�Ĭ��sX�J鶑Ol_]����f=�~^�뚤�dm$�k�S�X�ռ-<ϔ�XmG8' �8$��-&��K[��Ƈ8��>���V�k�r��X�M7R�Q��"�� �o##>X9��Z��
�@��&C��,8��Q��a( =�ZOFcx�}H�fFe�S��xAUҝ�c9�ѹ�d�g�}kN�d@Ժ�v7�7�{�4�@��RroRV��{؉SU���ʎ�]xJ
U53�W�B$X�`j�qaur2��{Uf1j(� NSԡ5��0q�\ԭm<� ��95�V�cX&��� d�o�i�!��o�4���X�Տ�^�s�(����\��|��[�)�d�������r1��'܃Y�k�ţ��צ�&��vs�!L�I�j�+�
es�|�:�5���̌c''��R�+�̄�N�v�c=���[Ȕ���� o� �wWk��%�i�y��УF$��+gq�8�'ҾvՏO my�
O���-���S�Ig"F,:�1�?���a��t���������Y��A� .;_��gE�J���'7�C��J��S�y��� e6"2ˀ+צ��p��X�>$E_��Rq"��x��tܧt:vQ���8���p<�0x�� x;A�C�S���i�Ϙ+Y�ȭg�$������>� ���'mP�;Z,����[8I# ��US��F��f��s��<Է��-��021ZҮ�v5���0IWz��һO��\�1#�s՛�+�� A���@�ΰ�g����V�BH��:M��c7cGJ�]P��Ȏ��/���g�5�'��1�&