|
From: <wis...@us...> - 2012-01-28 20:47:39
|
Revision: 8824
http://xoops.svn.sourceforge.net/xoops/?rev=8824&view=rev
Author: wishcraft
Date: 2012-01-28 20:47:26 +0000 (Sat, 28 Jan 2012)
Log Message:
-----------
VOD 1.17 Beta - Video on demand shopping cart, XPayment plugin inc, Tag plugin inc, Cron Inc, Code Tested - Unit Testing Required - see changelog.txt
Added Paths:
-----------
XoopsModules/vod/releases/1.17/
XoopsModules/vod/releases/1.17/docs/
XoopsModules/vod/releases/1.17/htdocs/
XoopsModules/vod/releases/1.17/htdocs/Frameworks/
XoopsModules/vod/releases/1.17/htdocs/Frameworks/moduleclasses/
XoopsModules/vod/releases/1.17/htdocs/Frameworks/moduleclasses/icons/
XoopsModules/vod/releases/1.17/htdocs/Frameworks/moduleclasses/icons/16/
XoopsModules/vod/releases/1.17/htdocs/Frameworks/moduleclasses/icons/16/vod.cart.png
XoopsModules/vod/releases/1.17/htdocs/Frameworks/moduleclasses/icons/16/vod.category.png
XoopsModules/vod/releases/1.17/htdocs/Frameworks/moduleclasses/icons/16/vod.currency.png
XoopsModules/vod/releases/1.17/htdocs/Frameworks/moduleclasses/icons/16/vod.log.png
XoopsModules/vod/releases/1.17/htdocs/Frameworks/moduleclasses/icons/16/vod.mimetypes.png
XoopsModules/vod/releases/1.17/htdocs/Frameworks/moduleclasses/icons/16/vod.useragents.png
XoopsModules/vod/releases/1.17/htdocs/Frameworks/moduleclasses/icons/16/vod.video.png
XoopsModules/vod/releases/1.17/htdocs/Frameworks/moduleclasses/icons/32/
XoopsModules/vod/releases/1.17/htdocs/Frameworks/moduleclasses/icons/32/vod.cart.png
XoopsModules/vod/releases/1.17/htdocs/Frameworks/moduleclasses/icons/32/vod.category.png
XoopsModules/vod/releases/1.17/htdocs/Frameworks/moduleclasses/icons/32/vod.currency.png
XoopsModules/vod/releases/1.17/htdocs/Frameworks/moduleclasses/icons/32/vod.log.png
XoopsModules/vod/releases/1.17/htdocs/Frameworks/moduleclasses/icons/32/vod.mimetypes.png
XoopsModules/vod/releases/1.17/htdocs/Frameworks/moduleclasses/icons/32/vod.useragents.png
XoopsModules/vod/releases/1.17/htdocs/Frameworks/moduleclasses/icons/32/vod.video.png
XoopsModules/vod/releases/1.17/htdocs/modules/
XoopsModules/vod/releases/1.17/htdocs/modules/tag/
XoopsModules/vod/releases/1.17/htdocs/modules/tag/plugin/
XoopsModules/vod/releases/1.17/htdocs/modules/tag/plugin/vod.php
XoopsModules/vod/releases/1.17/htdocs/modules/vod/
XoopsModules/vod/releases/1.17/htdocs/modules/vod/admin/
XoopsModules/vod/releases/1.17/htdocs/modules/vod/admin/header.php
XoopsModules/vod/releases/1.17/htdocs/modules/vod/admin/index.html
XoopsModules/vod/releases/1.17/htdocs/modules/vod/admin/index.php
XoopsModules/vod/releases/1.17/htdocs/modules/vod/admin/menu.php
XoopsModules/vod/releases/1.17/htdocs/modules/vod/blocks/
XoopsModules/vod/releases/1.17/htdocs/modules/vod/blocks/flowplayer_block_player.php
XoopsModules/vod/releases/1.17/htdocs/modules/vod/blocks/index.html
XoopsModules/vod/releases/1.17/htdocs/modules/vod/class/
XoopsModules/vod/releases/1.17/htdocs/modules/vod/class/cart.php
XoopsModules/vod/releases/1.17/htdocs/modules/vod/class/category.php
XoopsModules/vod/releases/1.17/htdocs/modules/vod/class/currency.php
XoopsModules/vod/releases/1.17/htdocs/modules/vod/class/index.html
XoopsModules/vod/releases/1.17/htdocs/modules/vod/class/log.php
XoopsModules/vod/releases/1.17/htdocs/modules/vod/class/mimetypes.php
XoopsModules/vod/releases/1.17/htdocs/modules/vod/class/sessions.php
XoopsModules/vod/releases/1.17/htdocs/modules/vod/class/videos.php
XoopsModules/vod/releases/1.17/htdocs/modules/vod/cron/
XoopsModules/vod/releases/1.17/htdocs/modules/vod/cron/index.html
XoopsModules/vod/releases/1.17/htdocs/modules/vod/cron/notify.php
XoopsModules/vod/releases/1.17/htdocs/modules/vod/docs/
XoopsModules/vod/releases/1.17/htdocs/modules/vod/docs/changelog.txt
XoopsModules/vod/releases/1.17/htdocs/modules/vod/docs/credits.txt
XoopsModules/vod/releases/1.17/htdocs/modules/vod/docs/index.html
XoopsModules/vod/releases/1.17/htdocs/modules/vod/docs/install.txt
XoopsModules/vod/releases/1.17/htdocs/modules/vod/docs/lang_diff.txt
XoopsModules/vod/releases/1.17/htdocs/modules/vod/docs/licence.txt
XoopsModules/vod/releases/1.17/htdocs/modules/vod/docs/readme.txt
XoopsModules/vod/releases/1.17/htdocs/modules/vod/dojson_videos.php
XoopsModules/vod/releases/1.17/htdocs/modules/vod/header.php
XoopsModules/vod/releases/1.17/htdocs/modules/vod/images/
XoopsModules/vod/releases/1.17/htdocs/modules/vod/images/icons/
XoopsModules/vod/releases/1.17/htdocs/modules/vod/images/icons/admin/
XoopsModules/vod/releases/1.17/htdocs/modules/vod/images/icons/admin/index.html
XoopsModules/vod/releases/1.17/htdocs/modules/vod/images/icons/admin/video.png
XoopsModules/vod/releases/1.17/htdocs/modules/vod/images/icons/index.html
XoopsModules/vod/releases/1.17/htdocs/modules/vod/images/index.html
XoopsModules/vod/releases/1.17/htdocs/modules/vod/images/vod_slogo.png
XoopsModules/vod/releases/1.17/htdocs/modules/vod/include/
XoopsModules/vod/releases/1.17/htdocs/modules/vod/include/JSON.php
XoopsModules/vod/releases/1.17/htdocs/modules/vod/include/formobjects.vod.php
XoopsModules/vod/releases/1.17/htdocs/modules/vod/include/forms.vod.php
XoopsModules/vod/releases/1.17/htdocs/modules/vod/include/formselectcategory.php
XoopsModules/vod/releases/1.17/htdocs/modules/vod/include/formselectcurrency.php
XoopsModules/vod/releases/1.17/htdocs/modules/vod/include/formselectmimetype.php
XoopsModules/vod/releases/1.17/htdocs/modules/vod/include/formselectpackageid.php
XoopsModules/vod/releases/1.17/htdocs/modules/vod/include/formselectsupport.php
XoopsModules/vod/releases/1.17/htdocs/modules/vod/include/formselectvideos.php
XoopsModules/vod/releases/1.17/htdocs/modules/vod/include/functions.php
XoopsModules/vod/releases/1.17/htdocs/modules/vod/include/index.html
XoopsModules/vod/releases/1.17/htdocs/modules/vod/include/update.php
XoopsModules/vod/releases/1.17/htdocs/modules/vod/include/uploader.php
XoopsModules/vod/releases/1.17/htdocs/modules/vod/index.php
XoopsModules/vod/releases/1.17/htdocs/modules/vod/js/
XoopsModules/vod/releases/1.17/htdocs/modules/vod/js/core.js
XoopsModules/vod/releases/1.17/htdocs/modules/vod/js/flowplayer-3.2.6.min.js
XoopsModules/vod/releases/1.17/htdocs/modules/vod/js/index.html
XoopsModules/vod/releases/1.17/htdocs/modules/vod/js/json_functions.js
XoopsModules/vod/releases/1.17/htdocs/modules/vod/js/video.js
XoopsModules/vod/releases/1.17/htdocs/modules/vod/language/
XoopsModules/vod/releases/1.17/htdocs/modules/vod/language/english/
XoopsModules/vod/releases/1.17/htdocs/modules/vod/language/english/admin.php
XoopsModules/vod/releases/1.17/htdocs/modules/vod/language/english/blocks.php
XoopsModules/vod/releases/1.17/htdocs/modules/vod/language/english/email.php
XoopsModules/vod/releases/1.17/htdocs/modules/vod/language/english/enum.php
XoopsModules/vod/releases/1.17/htdocs/modules/vod/language/english/forms.php
XoopsModules/vod/releases/1.17/htdocs/modules/vod/language/english/index.html
XoopsModules/vod/releases/1.17/htdocs/modules/vod/language/english/log.php
XoopsModules/vod/releases/1.17/htdocs/modules/vod/language/english/mail_templates/
XoopsModules/vod/releases/1.17/htdocs/modules/vod/language/english/mail_templates/vod_video_available_cart.html
XoopsModules/vod/releases/1.17/htdocs/modules/vod/language/english/mail_templates/vod_video_expired_cart.html
XoopsModules/vod/releases/1.17/htdocs/modules/vod/language/english/mail_templates/vod_video_expired_viewing_cart.html
XoopsModules/vod/releases/1.17/htdocs/modules/vod/language/english/main.php
XoopsModules/vod/releases/1.17/htdocs/modules/vod/language/english/mainfile.php
XoopsModules/vod/releases/1.17/htdocs/modules/vod/language/english/modinfo.php
XoopsModules/vod/releases/1.17/htdocs/modules/vod/language/english/style.css
XoopsModules/vod/releases/1.17/htdocs/modules/vod/language/english/video-js.css
XoopsModules/vod/releases/1.17/htdocs/modules/vod/language/index.html
XoopsModules/vod/releases/1.17/htdocs/modules/vod/plugins/
XoopsModules/vod/releases/1.17/htdocs/modules/vod/plugins/index.html
XoopsModules/vod/releases/1.17/htdocs/modules/vod/plugins/log.php
XoopsModules/vod/releases/1.17/htdocs/modules/vod/preloads/
XoopsModules/vod/releases/1.17/htdocs/modules/vod/preloads/core.php
XoopsModules/vod/releases/1.17/htdocs/modules/vod/preloads/index.html
XoopsModules/vod/releases/1.17/htdocs/modules/vod/sql/
XoopsModules/vod/releases/1.17/htdocs/modules/vod/sql/index.html
XoopsModules/vod/releases/1.17/htdocs/modules/vod/sql/mysql.sql
XoopsModules/vod/releases/1.17/htdocs/modules/vod/swf/
XoopsModules/vod/releases/1.17/htdocs/modules/vod/swf/flowplayer-3.2.7.swf
XoopsModules/vod/releases/1.17/htdocs/modules/vod/swf/flowplayer.controls-3.2.5.swf
XoopsModules/vod/releases/1.17/htdocs/modules/vod/swf/flowplayer.rtmp-3.2.3.swf
XoopsModules/vod/releases/1.17/htdocs/modules/vod/swf/index.html
XoopsModules/vod/releases/1.17/htdocs/modules/vod/templates/
XoopsModules/vod/releases/1.17/htdocs/modules/vod/templates/blocks/
XoopsModules/vod/releases/1.17/htdocs/modules/vod/templates/blocks/flowplayer_block_player.html
XoopsModules/vod/releases/1.17/htdocs/modules/vod/templates/blocks/index.html
XoopsModules/vod/releases/1.17/htdocs/modules/vod/templates/index.html
XoopsModules/vod/releases/1.17/htdocs/modules/vod/templates/vod_cpanel_cart_edit.html
XoopsModules/vod/releases/1.17/htdocs/modules/vod/templates/vod_cpanel_cart_list.html
XoopsModules/vod/releases/1.17/htdocs/modules/vod/templates/vod_cpanel_category_edit.html
XoopsModules/vod/releases/1.17/htdocs/modules/vod/templates/vod_cpanel_category_list.html
XoopsModules/vod/releases/1.17/htdocs/modules/vod/templates/vod_cpanel_currency_edit.html
XoopsModules/vod/releases/1.17/htdocs/modules/vod/templates/vod_cpanel_currency_list.html
XoopsModules/vod/releases/1.17/htdocs/modules/vod/templates/vod_cpanel_log_list.html
XoopsModules/vod/releases/1.17/htdocs/modules/vod/templates/vod_cpanel_mimetypes_edit.html
XoopsModules/vod/releases/1.17/htdocs/modules/vod/templates/vod_cpanel_mimetypes_list.html
XoopsModules/vod/releases/1.17/htdocs/modules/vod/templates/vod_cpanel_sessions_edit.html
XoopsModules/vod/releases/1.17/htdocs/modules/vod/templates/vod_cpanel_sessions_list.html
XoopsModules/vod/releases/1.17/htdocs/modules/vod/templates/vod_cpanel_useragents_list.html
XoopsModules/vod/releases/1.17/htdocs/modules/vod/templates/vod_cpanel_videos_edit.html
XoopsModules/vod/releases/1.17/htdocs/modules/vod/templates/vod_cpanel_videos_list.html
XoopsModules/vod/releases/1.17/htdocs/modules/vod/templates/vod_index.html
XoopsModules/vod/releases/1.17/htdocs/modules/vod/templates/vod_index_cart_view.html
XoopsModules/vod/releases/1.17/htdocs/modules/vod/templates/vod_index_cart_xpayment_form.html
XoopsModules/vod/releases/1.17/htdocs/modules/vod/templates/vod_index_category_list.html
XoopsModules/vod/releases/1.17/htdocs/modules/vod/templates/vod_index_category_view.html
XoopsModules/vod/releases/1.17/htdocs/modules/vod/templates/vod_index_flash_videos.html
XoopsModules/vod/releases/1.17/htdocs/modules/vod/templates/vod_index_html5_videos.html
XoopsModules/vod/releases/1.17/htdocs/modules/vod/templates/vod_index_http_videos.html
XoopsModules/vod/releases/1.17/htdocs/modules/vod/templates/vod_index_iframe.html
XoopsModules/vod/releases/1.17/htdocs/modules/vod/templates/vod_index_iframe_flash_videos.html
XoopsModules/vod/releases/1.17/htdocs/modules/vod/templates/vod_index_iframe_html5_videos.html
XoopsModules/vod/releases/1.17/htdocs/modules/vod/templates/vod_index_iframe_http_videos.html
XoopsModules/vod/releases/1.17/htdocs/modules/vod/templates/vod_index_iframe_ios_videos.html
XoopsModules/vod/releases/1.17/htdocs/modules/vod/templates/vod_index_iframe_other_videos.html
XoopsModules/vod/releases/1.17/htdocs/modules/vod/templates/vod_index_iframe_rtmp_videos.html
XoopsModules/vod/releases/1.17/htdocs/modules/vod/templates/vod_index_iframe_rtsp_videos.html
XoopsModules/vod/releases/1.17/htdocs/modules/vod/templates/vod_index_iframe_silverlight_videos.html
XoopsModules/vod/releases/1.17/htdocs/modules/vod/templates/vod_index_ios_videos.html
XoopsModules/vod/releases/1.17/htdocs/modules/vod/templates/vod_index_other_videos.html
XoopsModules/vod/releases/1.17/htdocs/modules/vod/templates/vod_index_rstp_videos.html
XoopsModules/vod/releases/1.17/htdocs/modules/vod/templates/vod_index_rtmp_videos.html
XoopsModules/vod/releases/1.17/htdocs/modules/vod/templates/vod_index_silverlight_videos.html
XoopsModules/vod/releases/1.17/htdocs/modules/vod/templates/vod_index_videos_list.html
XoopsModules/vod/releases/1.17/htdocs/modules/vod/templates/vod_index_videos_view.html
XoopsModules/vod/releases/1.17/htdocs/modules/vod/templates/vod_json_block_flash_videos.html
XoopsModules/vod/releases/1.17/htdocs/modules/vod/templates/vod_json_block_html5_videos.html
XoopsModules/vod/releases/1.17/htdocs/modules/vod/templates/vod_json_block_http_videos.html
XoopsModules/vod/releases/1.17/htdocs/modules/vod/templates/vod_json_block_ios_videos.html
XoopsModules/vod/releases/1.17/htdocs/modules/vod/templates/vod_json_block_other_videos.html
XoopsModules/vod/releases/1.17/htdocs/modules/vod/templates/vod_json_block_rtmp_videos.html
XoopsModules/vod/releases/1.17/htdocs/modules/vod/templates/vod_json_block_rtsp_videos.html
XoopsModules/vod/releases/1.17/htdocs/modules/vod/templates/vod_json_block_silverlight_videos.html
XoopsModules/vod/releases/1.17/htdocs/modules/vod/templates/vod_json_flash_videos.html
XoopsModules/vod/releases/1.17/htdocs/modules/vod/templates/vod_json_html5_videos.html
XoopsModules/vod/releases/1.17/htdocs/modules/vod/templates/vod_json_http_videos.html
XoopsModules/vod/releases/1.17/htdocs/modules/vod/templates/vod_json_ios_videos.html
XoopsModules/vod/releases/1.17/htdocs/modules/vod/templates/vod_json_other_videos.html
XoopsModules/vod/releases/1.17/htdocs/modules/vod/templates/vod_json_rtmp_videos.html
XoopsModules/vod/releases/1.17/htdocs/modules/vod/templates/vod_json_rtsp_videos.html
XoopsModules/vod/releases/1.17/htdocs/modules/vod/templates/vod_json_silverlight_videos.html
XoopsModules/vod/releases/1.17/htdocs/modules/vod/xoops_version.php
XoopsModules/vod/releases/1.17/htdocs/modules/xpayment/
XoopsModules/vod/releases/1.17/htdocs/modules/xpayment/plugin/
XoopsModules/vod/releases/1.17/htdocs/modules/xpayment/plugin/vod.php
XoopsModules/vod/trunk/
XoopsModules/vod/trunk/docs/
XoopsModules/vod/trunk/htdocs/
XoopsModules/vod/trunk/htdocs/Frameworks/
XoopsModules/vod/trunk/htdocs/Frameworks/moduleclasses/
XoopsModules/vod/trunk/htdocs/Frameworks/moduleclasses/icons/
XoopsModules/vod/trunk/htdocs/Frameworks/moduleclasses/icons/16/
XoopsModules/vod/trunk/htdocs/Frameworks/moduleclasses/icons/16/vod.cart.png
XoopsModules/vod/trunk/htdocs/Frameworks/moduleclasses/icons/16/vod.category.png
XoopsModules/vod/trunk/htdocs/Frameworks/moduleclasses/icons/16/vod.currency.png
XoopsModules/vod/trunk/htdocs/Frameworks/moduleclasses/icons/16/vod.log.png
XoopsModules/vod/trunk/htdocs/Frameworks/moduleclasses/icons/16/vod.mimetypes.png
XoopsModules/vod/trunk/htdocs/Frameworks/moduleclasses/icons/16/vod.useragents.png
XoopsModules/vod/trunk/htdocs/Frameworks/moduleclasses/icons/16/vod.video.png
XoopsModules/vod/trunk/htdocs/Frameworks/moduleclasses/icons/32/
XoopsModules/vod/trunk/htdocs/Frameworks/moduleclasses/icons/32/vod.cart.png
XoopsModules/vod/trunk/htdocs/Frameworks/moduleclasses/icons/32/vod.category.png
XoopsModules/vod/trunk/htdocs/Frameworks/moduleclasses/icons/32/vod.currency.png
XoopsModules/vod/trunk/htdocs/Frameworks/moduleclasses/icons/32/vod.log.png
XoopsModules/vod/trunk/htdocs/Frameworks/moduleclasses/icons/32/vod.mimetypes.png
XoopsModules/vod/trunk/htdocs/Frameworks/moduleclasses/icons/32/vod.useragents.png
XoopsModules/vod/trunk/htdocs/Frameworks/moduleclasses/icons/32/vod.video.png
XoopsModules/vod/trunk/htdocs/modules/
XoopsModules/vod/trunk/htdocs/modules/tag/
XoopsModules/vod/trunk/htdocs/modules/tag/plugin/
XoopsModules/vod/trunk/htdocs/modules/tag/plugin/vod.php
XoopsModules/vod/trunk/htdocs/modules/vod/
XoopsModules/vod/trunk/htdocs/modules/vod/admin/
XoopsModules/vod/trunk/htdocs/modules/vod/admin/header.php
XoopsModules/vod/trunk/htdocs/modules/vod/admin/index.html
XoopsModules/vod/trunk/htdocs/modules/vod/admin/index.php
XoopsModules/vod/trunk/htdocs/modules/vod/admin/menu.php
XoopsModules/vod/trunk/htdocs/modules/vod/blocks/
XoopsModules/vod/trunk/htdocs/modules/vod/blocks/flowplayer_block_player.php
XoopsModules/vod/trunk/htdocs/modules/vod/blocks/index.html
XoopsModules/vod/trunk/htdocs/modules/vod/class/
XoopsModules/vod/trunk/htdocs/modules/vod/class/cart.php
XoopsModules/vod/trunk/htdocs/modules/vod/class/category.php
XoopsModules/vod/trunk/htdocs/modules/vod/class/currency.php
XoopsModules/vod/trunk/htdocs/modules/vod/class/index.html
XoopsModules/vod/trunk/htdocs/modules/vod/class/log.php
XoopsModules/vod/trunk/htdocs/modules/vod/class/mimetypes.php
XoopsModules/vod/trunk/htdocs/modules/vod/class/sessions.php
XoopsModules/vod/trunk/htdocs/modules/vod/class/videos.php
XoopsModules/vod/trunk/htdocs/modules/vod/cron/
XoopsModules/vod/trunk/htdocs/modules/vod/cron/index.html
XoopsModules/vod/trunk/htdocs/modules/vod/cron/notify.php
XoopsModules/vod/trunk/htdocs/modules/vod/docs/
XoopsModules/vod/trunk/htdocs/modules/vod/docs/changelog.txt
XoopsModules/vod/trunk/htdocs/modules/vod/docs/credits.txt
XoopsModules/vod/trunk/htdocs/modules/vod/docs/index.html
XoopsModules/vod/trunk/htdocs/modules/vod/docs/install.txt
XoopsModules/vod/trunk/htdocs/modules/vod/docs/lang_diff.txt
XoopsModules/vod/trunk/htdocs/modules/vod/docs/licence.txt
XoopsModules/vod/trunk/htdocs/modules/vod/docs/readme.txt
XoopsModules/vod/trunk/htdocs/modules/vod/dojson_videos.php
XoopsModules/vod/trunk/htdocs/modules/vod/header.php
XoopsModules/vod/trunk/htdocs/modules/vod/images/
XoopsModules/vod/trunk/htdocs/modules/vod/images/icons/
XoopsModules/vod/trunk/htdocs/modules/vod/images/icons/admin/
XoopsModules/vod/trunk/htdocs/modules/vod/images/icons/admin/index.html
XoopsModules/vod/trunk/htdocs/modules/vod/images/icons/admin/video.png
XoopsModules/vod/trunk/htdocs/modules/vod/images/icons/index.html
XoopsModules/vod/trunk/htdocs/modules/vod/images/index.html
XoopsModules/vod/trunk/htdocs/modules/vod/images/vod_slogo.png
XoopsModules/vod/trunk/htdocs/modules/vod/include/
XoopsModules/vod/trunk/htdocs/modules/vod/include/JSON.php
XoopsModules/vod/trunk/htdocs/modules/vod/include/formobjects.vod.php
XoopsModules/vod/trunk/htdocs/modules/vod/include/forms.vod.php
XoopsModules/vod/trunk/htdocs/modules/vod/include/formselectcategory.php
XoopsModules/vod/trunk/htdocs/modules/vod/include/formselectcurrency.php
XoopsModules/vod/trunk/htdocs/modules/vod/include/formselectmimetype.php
XoopsModules/vod/trunk/htdocs/modules/vod/include/formselectpackageid.php
XoopsModules/vod/trunk/htdocs/modules/vod/include/formselectsupport.php
XoopsModules/vod/trunk/htdocs/modules/vod/include/formselectvideos.php
XoopsModules/vod/trunk/htdocs/modules/vod/include/functions.php
XoopsModules/vod/trunk/htdocs/modules/vod/include/index.html
XoopsModules/vod/trunk/htdocs/modules/vod/include/update.php
XoopsModules/vod/trunk/htdocs/modules/vod/include/uploader.php
XoopsModules/vod/trunk/htdocs/modules/vod/index.php
XoopsModules/vod/trunk/htdocs/modules/vod/js/
XoopsModules/vod/trunk/htdocs/modules/vod/js/core.js
XoopsModules/vod/trunk/htdocs/modules/vod/js/flowplayer-3.2.6.min.js
XoopsModules/vod/trunk/htdocs/modules/vod/js/index.html
XoopsModules/vod/trunk/htdocs/modules/vod/js/json_functions.js
XoopsModules/vod/trunk/htdocs/modules/vod/js/video.js
XoopsModules/vod/trunk/htdocs/modules/vod/language/
XoopsModules/vod/trunk/htdocs/modules/vod/language/english/
XoopsModules/vod/trunk/htdocs/modules/vod/language/english/admin.php
XoopsModules/vod/trunk/htdocs/modules/vod/language/english/blocks.php
XoopsModules/vod/trunk/htdocs/modules/vod/language/english/email.php
XoopsModules/vod/trunk/htdocs/modules/vod/language/english/enum.php
XoopsModules/vod/trunk/htdocs/modules/vod/language/english/forms.php
XoopsModules/vod/trunk/htdocs/modules/vod/language/english/index.html
XoopsModules/vod/trunk/htdocs/modules/vod/language/english/log.php
XoopsModules/vod/trunk/htdocs/modules/vod/language/english/mail_templates/
XoopsModules/vod/trunk/htdocs/modules/vod/language/english/mail_templates/vod_video_available_cart.html
XoopsModules/vod/trunk/htdocs/modules/vod/language/english/mail_templates/vod_video_expired_cart.html
XoopsModules/vod/trunk/htdocs/modules/vod/language/english/mail_templates/vod_video_expired_viewing_cart.html
XoopsModules/vod/trunk/htdocs/modules/vod/language/english/main.php
XoopsModules/vod/trunk/htdocs/modules/vod/language/english/mainfile.php
XoopsModules/vod/trunk/htdocs/modules/vod/language/english/modinfo.php
XoopsModules/vod/trunk/htdocs/modules/vod/language/english/style.css
XoopsModules/vod/trunk/htdocs/modules/vod/language/english/video-js.css
XoopsModules/vod/trunk/htdocs/modules/vod/language/index.html
XoopsModules/vod/trunk/htdocs/modules/vod/plugins/
XoopsModules/vod/trunk/htdocs/modules/vod/plugins/index.html
XoopsModules/vod/trunk/htdocs/modules/vod/plugins/log.php
XoopsModules/vod/trunk/htdocs/modules/vod/preloads/
XoopsModules/vod/trunk/htdocs/modules/vod/preloads/core.php
XoopsModules/vod/trunk/htdocs/modules/vod/preloads/index.html
XoopsModules/vod/trunk/htdocs/modules/vod/sql/
XoopsModules/vod/trunk/htdocs/modules/vod/sql/index.html
XoopsModules/vod/trunk/htdocs/modules/vod/sql/mysql.sql
XoopsModules/vod/trunk/htdocs/modules/vod/swf/
XoopsModules/vod/trunk/htdocs/modules/vod/swf/flowplayer-3.2.7.swf
XoopsModules/vod/trunk/htdocs/modules/vod/swf/flowplayer.controls-3.2.5.swf
XoopsModules/vod/trunk/htdocs/modules/vod/swf/flowplayer.rtmp-3.2.3.swf
XoopsModules/vod/trunk/htdocs/modules/vod/swf/index.html
XoopsModules/vod/trunk/htdocs/modules/vod/templates/
XoopsModules/vod/trunk/htdocs/modules/vod/templates/blocks/
XoopsModules/vod/trunk/htdocs/modules/vod/templates/blocks/flowplayer_block_player.html
XoopsModules/vod/trunk/htdocs/modules/vod/templates/blocks/index.html
XoopsModules/vod/trunk/htdocs/modules/vod/templates/index.html
XoopsModules/vod/trunk/htdocs/modules/vod/templates/vod_cpanel_cart_edit.html
XoopsModules/vod/trunk/htdocs/modules/vod/templates/vod_cpanel_cart_list.html
XoopsModules/vod/trunk/htdocs/modules/vod/templates/vod_cpanel_category_edit.html
XoopsModules/vod/trunk/htdocs/modules/vod/templates/vod_cpanel_category_list.html
XoopsModules/vod/trunk/htdocs/modules/vod/templates/vod_cpanel_currency_edit.html
XoopsModules/vod/trunk/htdocs/modules/vod/templates/vod_cpanel_currency_list.html
XoopsModules/vod/trunk/htdocs/modules/vod/templates/vod_cpanel_log_list.html
XoopsModules/vod/trunk/htdocs/modules/vod/templates/vod_cpanel_mimetypes_edit.html
XoopsModules/vod/trunk/htdocs/modules/vod/templates/vod_cpanel_mimetypes_list.html
XoopsModules/vod/trunk/htdocs/modules/vod/templates/vod_cpanel_sessions_edit.html
XoopsModules/vod/trunk/htdocs/modules/vod/templates/vod_cpanel_sessions_list.html
XoopsModules/vod/trunk/htdocs/modules/vod/templates/vod_cpanel_useragents_list.html
XoopsModules/vod/trunk/htdocs/modules/vod/templates/vod_cpanel_videos_edit.html
XoopsModules/vod/trunk/htdocs/modules/vod/templates/vod_cpanel_videos_list.html
XoopsModules/vod/trunk/htdocs/modules/vod/templates/vod_index.html
XoopsModules/vod/trunk/htdocs/modules/vod/templates/vod_index_cart_view.html
XoopsModules/vod/trunk/htdocs/modules/vod/templates/vod_index_cart_xpayment_form.html
XoopsModules/vod/trunk/htdocs/modules/vod/templates/vod_index_category_list.html
XoopsModules/vod/trunk/htdocs/modules/vod/templates/vod_index_category_view.html
XoopsModules/vod/trunk/htdocs/modules/vod/templates/vod_index_flash_videos.html
XoopsModules/vod/trunk/htdocs/modules/vod/templates/vod_index_html5_videos.html
XoopsModules/vod/trunk/htdocs/modules/vod/templates/vod_index_http_videos.html
XoopsModules/vod/trunk/htdocs/modules/vod/templates/vod_index_iframe.html
XoopsModules/vod/trunk/htdocs/modules/vod/templates/vod_index_iframe_flash_videos.html
XoopsModules/vod/trunk/htdocs/modules/vod/templates/vod_index_iframe_html5_videos.html
XoopsModules/vod/trunk/htdocs/modules/vod/templates/vod_index_iframe_http_videos.html
XoopsModules/vod/trunk/htdocs/modules/vod/templates/vod_index_iframe_ios_videos.html
XoopsModules/vod/trunk/htdocs/modules/vod/templates/vod_index_iframe_other_videos.html
XoopsModules/vod/trunk/htdocs/modules/vod/templates/vod_index_iframe_rtmp_videos.html
XoopsModules/vod/trunk/htdocs/modules/vod/templates/vod_index_iframe_rtsp_videos.html
XoopsModules/vod/trunk/htdocs/modules/vod/templates/vod_index_iframe_silverlight_videos.html
XoopsModules/vod/trunk/htdocs/modules/vod/templates/vod_index_ios_videos.html
XoopsModules/vod/trunk/htdocs/modules/vod/templates/vod_index_other_videos.html
XoopsModules/vod/trunk/htdocs/modules/vod/templates/vod_index_rstp_videos.html
XoopsModules/vod/trunk/htdocs/modules/vod/templates/vod_index_rtmp_videos.html
XoopsModules/vod/trunk/htdocs/modules/vod/templates/vod_index_silverlight_videos.html
XoopsModules/vod/trunk/htdocs/modules/vod/templates/vod_index_videos_list.html
XoopsModules/vod/trunk/htdocs/modules/vod/templates/vod_index_videos_view.html
XoopsModules/vod/trunk/htdocs/modules/vod/templates/vod_json_block_flash_videos.html
XoopsModules/vod/trunk/htdocs/modules/vod/templates/vod_json_block_html5_videos.html
XoopsModules/vod/trunk/htdocs/modules/vod/templates/vod_json_block_http_videos.html
XoopsModules/vod/trunk/htdocs/modules/vod/templates/vod_json_block_ios_videos.html
XoopsModules/vod/trunk/htdocs/modules/vod/templates/vod_json_block_other_videos.html
XoopsModules/vod/trunk/htdocs/modules/vod/templates/vod_json_block_rtmp_videos.html
XoopsModules/vod/trunk/htdocs/modules/vod/templates/vod_json_block_rtsp_videos.html
XoopsModules/vod/trunk/htdocs/modules/vod/templates/vod_json_block_silverlight_videos.html
XoopsModules/vod/trunk/htdocs/modules/vod/templates/vod_json_flash_videos.html
XoopsModules/vod/trunk/htdocs/modules/vod/templates/vod_json_html5_videos.html
XoopsModules/vod/trunk/htdocs/modules/vod/templates/vod_json_http_videos.html
XoopsModules/vod/trunk/htdocs/modules/vod/templates/vod_json_ios_videos.html
XoopsModules/vod/trunk/htdocs/modules/vod/templates/vod_json_other_videos.html
XoopsModules/vod/trunk/htdocs/modules/vod/templates/vod_json_rtmp_videos.html
XoopsModules/vod/trunk/htdocs/modules/vod/templates/vod_json_rtsp_videos.html
XoopsModules/vod/trunk/htdocs/modules/vod/templates/vod_json_silverlight_videos.html
XoopsModules/vod/trunk/htdocs/modules/vod/xoops_version.php
XoopsModules/vod/trunk/htdocs/modules/xpayment/
XoopsModules/vod/trunk/htdocs/modules/xpayment/plugin/
XoopsModules/vod/trunk/htdocs/modules/xpayment/plugin/vod.php
Added: XoopsModules/vod/releases/1.17/htdocs/Frameworks/moduleclasses/icons/16/vod.cart.png
===================================================================
(Binary files differ)
Property changes on: XoopsModules/vod/releases/1.17/htdocs/Frameworks/moduleclasses/icons/16/vod.cart.png
___________________________________________________________________
Added: svn:mime-type
+ application/octet-stream
Added: XoopsModules/vod/releases/1.17/htdocs/Frameworks/moduleclasses/icons/16/vod.category.png
===================================================================
(Binary files differ)
Property changes on: XoopsModules/vod/releases/1.17/htdocs/Frameworks/moduleclasses/icons/16/vod.category.png
___________________________________________________________________
Added: svn:mime-type
+ application/octet-stream
Added: XoopsModules/vod/releases/1.17/htdocs/Frameworks/moduleclasses/icons/16/vod.currency.png
===================================================================
(Binary files differ)
Property changes on: XoopsModules/vod/releases/1.17/htdocs/Frameworks/moduleclasses/icons/16/vod.currency.png
___________________________________________________________________
Added: svn:mime-type
+ application/octet-stream
Added: XoopsModules/vod/releases/1.17/htdocs/Frameworks/moduleclasses/icons/16/vod.log.png
===================================================================
(Binary files differ)
Property changes on: XoopsModules/vod/releases/1.17/htdocs/Frameworks/moduleclasses/icons/16/vod.log.png
___________________________________________________________________
Added: svn:mime-type
+ application/octet-stream
Added: XoopsModules/vod/releases/1.17/htdocs/Frameworks/moduleclasses/icons/16/vod.mimetypes.png
===================================================================
(Binary files differ)
Property changes on: XoopsModules/vod/releases/1.17/htdocs/Frameworks/moduleclasses/icons/16/vod.mimetypes.png
___________________________________________________________________
Added: svn:mime-type
+ application/octet-stream
Added: XoopsModules/vod/releases/1.17/htdocs/Frameworks/moduleclasses/icons/16/vod.useragents.png
===================================================================
(Binary files differ)
Property changes on: XoopsModules/vod/releases/1.17/htdocs/Frameworks/moduleclasses/icons/16/vod.useragents.png
___________________________________________________________________
Added: svn:mime-type
+ application/octet-stream
Added: XoopsModules/vod/releases/1.17/htdocs/Frameworks/moduleclasses/icons/16/vod.video.png
===================================================================
(Binary files differ)
Property changes on: XoopsModules/vod/releases/1.17/htdocs/Frameworks/moduleclasses/icons/16/vod.video.png
___________________________________________________________________
Added: svn:mime-type
+ application/octet-stream
Added: XoopsModules/vod/releases/1.17/htdocs/Frameworks/moduleclasses/icons/32/vod.cart.png
===================================================================
(Binary files differ)
Property changes on: XoopsModules/vod/releases/1.17/htdocs/Frameworks/moduleclasses/icons/32/vod.cart.png
___________________________________________________________________
Added: svn:mime-type
+ application/octet-stream
Added: XoopsModules/vod/releases/1.17/htdocs/Frameworks/moduleclasses/icons/32/vod.category.png
===================================================================
(Binary files differ)
Property changes on: XoopsModules/vod/releases/1.17/htdocs/Frameworks/moduleclasses/icons/32/vod.category.png
___________________________________________________________________
Added: svn:mime-type
+ application/octet-stream
Added: XoopsModules/vod/releases/1.17/htdocs/Frameworks/moduleclasses/icons/32/vod.currency.png
===================================================================
(Binary files differ)
Property changes on: XoopsModules/vod/releases/1.17/htdocs/Frameworks/moduleclasses/icons/32/vod.currency.png
___________________________________________________________________
Added: svn:mime-type
+ application/octet-stream
Added: XoopsModules/vod/releases/1.17/htdocs/Frameworks/moduleclasses/icons/32/vod.log.png
===================================================================
(Binary files differ)
Property changes on: XoopsModules/vod/releases/1.17/htdocs/Frameworks/moduleclasses/icons/32/vod.log.png
___________________________________________________________________
Added: svn:mime-type
+ application/octet-stream
Added: XoopsModules/vod/releases/1.17/htdocs/Frameworks/moduleclasses/icons/32/vod.mimetypes.png
===================================================================
(Binary files differ)
Property changes on: XoopsModules/vod/releases/1.17/htdocs/Frameworks/moduleclasses/icons/32/vod.mimetypes.png
___________________________________________________________________
Added: svn:mime-type
+ application/octet-stream
Added: XoopsModules/vod/releases/1.17/htdocs/Frameworks/moduleclasses/icons/32/vod.useragents.png
===================================================================
(Binary files differ)
Property changes on: XoopsModules/vod/releases/1.17/htdocs/Frameworks/moduleclasses/icons/32/vod.useragents.png
___________________________________________________________________
Added: svn:mime-type
+ application/octet-stream
Added: XoopsModules/vod/releases/1.17/htdocs/Frameworks/moduleclasses/icons/32/vod.video.png
===================================================================
(Binary files differ)
Property changes on: XoopsModules/vod/releases/1.17/htdocs/Frameworks/moduleclasses/icons/32/vod.video.png
___________________________________________________________________
Added: svn:mime-type
+ application/octet-stream
Added: XoopsModules/vod/releases/1.17/htdocs/modules/tag/plugin/vod.php
===================================================================
--- XoopsModules/vod/releases/1.17/htdocs/modules/tag/plugin/vod.php (rev 0)
+++ XoopsModules/vod/releases/1.17/htdocs/modules/tag/plugin/vod.php 2012-01-28 20:47:26 UTC (rev 8824)
@@ -0,0 +1,76 @@
+<?php
+if (!defined('XOOPS_ROOT_PATH')) { exit(); }
+
+function vod_tag_iteminfo(&$items)
+{
+ if (empty($items) || !is_array($items)) {
+ return false;
+ }
+
+ $items_id = array();
+ foreach (array_keys($items) as $cat_id) {
+ // Some handling here to build the link upon catid
+ // catid is not used in vod, so just skip it
+ foreach (array_keys($items[$cat_id]) as $item_id) {
+ // In vod, the item_id is "topic_id"
+ $items_id[] = intval($item_id);
+ }
+ }
+ $item_handler =& xoops_getmodulehandler('videos', 'vod');
+ $items_obj = $item_handler->getObjects(new Criteria("vid", "(" . implode(", ", $items_id) . ")", "IN"), true);
+ $myts =& MyTextSanitizer::getInstance();
+ foreach (array_keys($items) as $cat_id) {
+ foreach (array_keys($items[$cat_id]) as $item_id) {
+ $item_obj =& $items_obj[$item_id];
+ if (is_object($item_obj))
+ $items[$cat_id][$item_id] = array(
+ "title" => $item_obj->getVar("name"),
+ "uid" => $item_obj->getVar("uid"),
+ "link" => 'go.php?vid='.$item_id.'&cid='.$item_obj->getVar("cid"),
+ "time" => $item_obj->getVar("date"),
+ "tags" => tag_parse_tag($item_obj->getVar("tags", "n")),
+ "content" => $myts->displayTarea($item_obj->getVar("summary"),true,true,true,true,true,true)
+ );
+ }
+ }
+ unset($items_obj);
+}
+
+/**
+ * Remove orphan tag-item links
+ *
+ * @return boolean
+ *
+ */
+function vod_tag_synchronization($mid)
+{
+ $item_handler =& xoops_getmodulehandler('videos', 'vod');
+ $link_handler =& xoops_getmodulehandler("link", "tag");
+
+ /* clear tag-item links */
+ if (version_compare( mysql_get_server_info(), "4.1.0", "ge" )):
+ $sql = " DELETE FROM {$link_handler->table}" .
+ " WHERE " .
+ " tag_modid = {$mid}" .
+ " AND " .
+ " ( tag_itemid NOT IN " .
+ " ( SELECT DISTINCT {$item_handler->keyName} " .
+ " FROM {$item_handler->table} " .
+ " WHERE {$item_handler->table}.approved > 0" .
+ " ) " .
+ " )";
+ else:
+ $sql = " DELETE {$link_handler->table} FROM {$link_handler->table}" .
+ " LEFT JOIN {$item_handler->table} AS aa ON {$link_handler->table}.tag_itemid = aa.{$item_handler->keyName} " .
+ " WHERE " .
+ " tag_modid = {$mid}" .
+ " AND " .
+ " ( aa.{$item_handler->keyName} IS NULL" .
+ " OR aa.approved < 1" .
+ " )";
+ endif;
+ if (!$result = $link_handler->db->queryF($sql)) {
+ //xoops_error($link_handler->db->error());
+ }
+}
+?>
\ No newline at end of file
Added: XoopsModules/vod/releases/1.17/htdocs/modules/vod/admin/header.php
===================================================================
--- XoopsModules/vod/releases/1.17/htdocs/modules/vod/admin/header.php (rev 0)
+++ XoopsModules/vod/releases/1.17/htdocs/modules/vod/admin/header.php 2012-01-28 20:47:26 UTC (rev 8824)
@@ -0,0 +1,61 @@
+<?php
+ require_once (dirname(dirname(dirname(dirname(__FILE__)))).'/include/cp_header.php');
+
+ if (!defined('_CHARSET'))
+ define ("_CHARSET","UTF-8");
+ if (!defined('_CHARSET_ISO'))
+ define ("_CHARSET_ISO","ISO-8859-1");
+
+ $GLOBALS['myts'] = MyTextSanitizer::getInstance();
+
+ $module_handler = xoops_gethandler('module');
+ $config_handler = xoops_gethandler('config');
+ $GLOBALS['vodModule'] = $module_handler->getByDirname('vod');
+ $GLOBALS['vodModuleConfig'] = $config_handler->getConfigList($GLOBALS['vodModule']->getVar('mid'));
+
+ xoops_load('pagenav');
+ xoops_load('xoopslists');
+ xoops_load('xoopsformloader');
+
+ include_once $GLOBALS['xoops']->path('class'.DS.'xoopsmailer.php');
+ include_once $GLOBALS['xoops']->path('class'.DS.'xoopstree.php');
+
+ if ( file_exists($GLOBALS['xoops']->path('/Frameworks/moduleclasses/moduleadmin/moduleadmin.php'))){
+ include_once $GLOBALS['xoops']->path('/Frameworks/moduleclasses/moduleadmin/moduleadmin.php');
+ //return true;
+ }else{
+ echo vod_error("Error: You don't use the Frameworks \"admin module\". Please install this Frameworks");
+ //return false;
+ }
+ $GLOBALS['vodImageIcon'] = XOOPS_URL .'/'. $GLOBALS['vodModule']->getInfo('icons16');
+ $GLOBALS['vodImageAdmin'] = XOOPS_URL .'/'. $GLOBALS['vodModule']->getInfo('icons32');
+
+ if ($GLOBALS['xoopsUser']) {
+ $moduleperm_handler =& xoops_gethandler('groupperm');
+ if (!$moduleperm_handler->checkRight('module_admin', $GLOBALS['vodModule']->getVar( 'mid' ), $GLOBALS['xoopsUser']->getGroups())) {
+ redirect_header(XOOPS_URL, 1, _NOPERM);
+ exit();
+ }
+ } else {
+ redirect_header(XOOPS_URL . "/user.php", 1, _NOPERM);
+ exit();
+ }
+
+ if (!isset($GLOBALS['xoopsTpl']) || !is_object($GLOBALS['xoopsTpl'])) {
+ include_once(XOOPS_ROOT_PATH."/class/template.php");
+ $GLOBALS['xoopsTpl'] = new XoopsTpl();
+ }
+
+ $GLOBALS['xoopsTpl']->assign('pathImageIcon', $GLOBALS['vodImageIcon']);
+ $GLOBALS['xoopsTpl']->assign('pathImageAdmin', $GLOBALS['vodImageAdmin']);
+
+
+ require_once('../include/functions.php');
+ require_once('../include/formobjects.vod.php');
+ require_once('../include/forms.vod.php');
+
+ include_once(dirname(dirname(__FILE__)).'/language/'.$GLOBALS['xoopsConfig']['language'].'/modinfo.php');
+ include_once(dirname(dirname(__FILE__)).'/language/'.$GLOBALS['xoopsConfig']['language'].'/forms.php');
+
+
+?>
\ No newline at end of file
Added: XoopsModules/vod/releases/1.17/htdocs/modules/vod/admin/index.html
===================================================================
--- XoopsModules/vod/releases/1.17/htdocs/modules/vod/admin/index.html (rev 0)
+++ XoopsModules/vod/releases/1.17/htdocs/modules/vod/admin/index.html 2012-01-28 20:47:26 UTC (rev 8824)
@@ -0,0 +1 @@
+ <script>history.go(-1);</script>
\ No newline at end of file
Added: XoopsModules/vod/releases/1.17/htdocs/modules/vod/admin/index.php
===================================================================
--- XoopsModules/vod/releases/1.17/htdocs/modules/vod/admin/index.php (rev 0)
+++ XoopsModules/vod/releases/1.17/htdocs/modules/vod/admin/index.php 2012-01-28 20:47:26 UTC (rev 8824)
@@ -0,0 +1,1005 @@
+<?php
+
+ include('header.php');
+
+ xoops_loadLanguage('admin', 'vod');
+
+ xoops_cp_header();
+
+ $op = isset($_REQUEST['op'])?$_REQUEST['op']:"dashboard";
+ $fct = isset($_REQUEST['fct'])?$_REQUEST['fct']:"";
+ $limit = !empty($_REQUEST['limit'])?intval($_REQUEST['limit']):30;
+ $start = !empty($_REQUEST['start'])?intval($_REQUEST['start']):0;
+ $order = !empty($_REQUEST['order'])?$_REQUEST['order']:'DESC';
+ $sort = !empty($_REQUEST['sort'])?''.$_REQUEST['sort'].'':'created';
+ $filter = !empty($_REQUEST['filter'])?''.$_REQUEST['filter'].'':'1,1';
+
+ switch($op) {
+ case "dashboard":
+ default:
+ vod_adminMenu(0, 'index.php?op=dashboard');
+
+ $videos_handler = xoops_getmodulehandler('videos', 'vod');
+ $mimetypes_handler = xoops_getmodulehandler('mimetypes', 'vod');
+ $indexAdmin = new ModuleAdmin();
+ $indexAdmin->addInfoBox(_AM_VOD_ADMIN_COUNTS);
+ $indexAdmin->addInfoBoxLine(_AM_VOD_ADMIN_COUNTS, "<label>"._AM_VOD_ADMIN_THEREARE_FLATFILES."</label>", $videos_handler->getCount(new Criteria('stream', '0', '=')), 'Green');
+ $indexAdmin->addInfoBoxLine(_AM_VOD_ADMIN_COUNTS, "<label>"._AM_VOD_ADMIN_THEREARE_RTMPSTREAMS."</label>", $videos_handler->getCount(new Criteria('LENGTH(`rtmp`)', '0', '>')), 'Green');
+ $indexAdmin->addInfoBoxLine(_AM_VOD_ADMIN_COUNTS, "<label>"._AM_VOD_ADMIN_THEREARE_RTSPSTREAMS."</label>", $videos_handler->getCount(new Criteria('LENGTH(`rtsp`)', '0', '>')), 'Green');
+ $indexAdmin->addInfoBoxLine(_AM_VOD_ADMIN_COUNTS, "<label>"._AM_VOD_ADMIN_THEREARE_FLASHSTREAMS."</label>", $videos_handler->getCount(new Criteria('LENGTH(`flash`)', '0', '>')), 'Green');
+ $indexAdmin->addInfoBoxLine(_AM_VOD_ADMIN_COUNTS, "<label>"._AM_VOD_ADMIN_THEREARE_SILVERLIGHTSTREAMS."</label>", $videos_handler->getCount(new Criteria('LENGTH(`silverlight`)', '0', '>')), 'Green');
+ $indexAdmin->addInfoBoxLine(_AM_VOD_ADMIN_COUNTS, "<label>"._AM_VOD_ADMIN_THEREARE_IOSSTREAMS."</label>", $videos_handler->getCount(new Criteria('LENGTH(`ios`)', '0', '>')), 'Green');
+ $indexAdmin->addInfoBoxLine(_AM_VOD_ADMIN_COUNTS, "<label>"._AM_VOD_ADMIN_THEREARE_HTTPSTREAMS."</label>", $videos_handler->getCount(new Criteria('LENGTH(`http`)', '0', '>')), 'Green');
+ $indexAdmin->addInfoBoxLine(_AM_VOD_ADMIN_COUNTS, "<label>"._AM_VOD_ADMIN_THEREARE_MIMETYPES."</label>", $mimetypes_handler->getCount(), 'Purple');
+ $videos = $videos_handler->getObjects(new Criteria('`default`', '1'), false);
+ if (isset($videos[0])) {
+ $videos = $videos[0];
+ $_SESSION['vod'][$videos->getVar('vid')]['main'] = true;
+ $indexAdmin->addInfoBox(_AM_VOD_ADMIN_DEFAULT);
+ $indexAdmin->addInfoBoxLine(_AM_VOD_ADMIN_DEFAULT, "<iframe src='".XOOPS_URL.'/modules/vod/?&state=admin&preview=0&vid='.$videos->getVar('vid')."&iframe=1&width=320px&height=200px' style='width:320px;height:200px;'></iframe>", '', 'Green');
+ }
+ echo $indexAdmin->renderIndex();
+ break;
+ case "about":
+ echo vod_adminMenu(9, 'index.php?op=about');
+ $paypalitemno='VOD106';
+ $aboutAdmin = new ModuleAdmin();
+ $about = $aboutAdmin->renderabout($paypalitemno, false);
+ $donationform = array( 0 => '<form name="donation" id="donation" action="http://www.chronolabs.coop/modules/xpayment/" method="post" onsubmit="return xoopsFormValidate_donation();">',
+ 1 => '<table class="outer" cellspacing="1" width="100%"><tbody><tr><th colspan="2">'.constant('_AM_TWITTERBOMB_ABOUT_MAKEDONATE').'</th></tr><tr align="left" valign="top"><td class="head"><div class="xoops-form-element-caption-required"><span class="caption-text">Donation Amount</span><span class="caption-marker">*</span></div></td><td class="even"><select size="1" name="item[A][amount]" id="item[A][amount]" title="Donation Amount"><option value="5">5.00 AUD</option><option value="10">10.00 AUD</option><option value="20">20.00 AUD</option><option value="40">40.00 AUD</option><option value="60">60.00 AUD</option><option value="80">80.00 AUD</option><option value="90">90.00 AUD</option><option value="100">100.00 AUD</option><option value="200">200.00 AUD</option></select></td></tr><tr align="left" valign="top"><td class="head"></td><td class="even"><input class="formButton" name="submit" id="submit" value="'._SUBMIT.'" title="'._SUBMIT.'" type="submit"></td></tr></tbody></table>',
+ 2 => '<input name="op" id="op" value="createinvoice" type="hidden"><input name="plugin" id="plugin" value="donations" type="hidden"><input name="donation" id="donation" value="1" type="hidden"><input name="drawfor" id="drawfor" value="Chronolabs Co-Operative" type="hidden"><input name="drawto" id="drawto" value="%s" type="hidden"><input name="drawto_email" id="drawto_email" value="%s" type="hidden"><input name="key" id="key" value="%s" type="hidden"><input name="currency" id="currency" value="AUD" type="hidden"><input name="weight_unit" id="weight_unit" value="kgs" type="hidden"><input name="item[A][cat]" id="item[A][cat]" value="XDN%s" type="hidden"><input name="item[A][name]" id="item[A][name]" value="Donation for %s" type="hidden"><input name="item[A][quantity]" id="item[A][quantity]" value="1" type="hidden"><input name="item[A][shipping]" id="item[A][shipping]" value="0" type="hidden"><input name="item[A][handling]" id="item[A][handling]" value="0" type="hidden"><input name="item[A][weight]" id="item[A][weight]" value="0" type="hidden"><input name="item[A][tax]" id="item[A][tax]" value="0" type="hidden"><input name="return" id="return" value="http://www.chronolabs.coop/modules/donations/success.php" type="hidden"><input name="cancel" id="cancel" value="http://www.chronolabs.coop/modules/donations/success.php" type="hidden"></form>', 'D'=>'',
+ 3 => '',
+ 4 => '<!-- Start Form Validation JavaScript //-->
+<script type="text/javascript">
+<!--//
+function xoopsFormValidate_donation() { var myform = window.document.donation;
+var hasSelected = false; var selectBox = myform.item[A][amount];for (i = 0; i < selectBox.options.length; i++ ) { if (selectBox.options[i].selected == true && selectBox.options[i].value != \'\') { hasSelected = true; break; } }if (!hasSelected) { window.alert("Please enter Donation Amount"); selectBox.focus(); return false; }return true;
+}
+//--></script>
+<!-- End Form Validation JavaScript //-->');
+ $paypalform = array( 0 => '<form action="https://www.paypal.com/cgi-bin/webscr" method="post">',
+ 1 => '<input name="cmd" value="_s-xclick" type="hidden">',
+ 2 => '<input name="hosted_button_id" value="%s" type="hidden">',
+ 3 => '<img alt="" src="https://www.paypal.com/fr_FR/i/scr/pixel.gif" height="1" border="0" width="1">',
+ 4 => '<input src="https://www.paypal.com/en_US/i/btn/btn_donate_LG.gif" name="submit" alt="PayPal - The safer, easier way to pay online!" border="0" type="poster">',
+ 5 => '</form>');
+ for($key=0;$key<=4;$key++) {
+ switch ($key) {
+ case 2:
+ $donationform[$key] = sprintf($donationform[$key], $GLOBALS['xoopsConfig']['sitename'] . ' - ' . (strlen($GLOBALS['xoopsUser']->getVar('name'))>0?$GLOBALS['xoopsUser']->getVar('name'). ' ['.$GLOBALS['xoopsUser']->getVar('uname').']':$GLOBALS['xoopsUser']->getVar('uname')), $GLOBALS['xoopsUser']->getVar('email'), XOOPS_LICENSE_KEY, strtoupper($GLOBALS['vodModule']->getVar('dirname')), strtoupper($GLOBALS['vodModule']->getVar('dirname')). ' '.$GLOBALS['vodModule']->getVar('name'));
+ break;
+ }
+ }
+
+ $istart = strpos($about, ($paypalform[0]), 1);
+ $iend = strpos($about, ($paypalform[5]), $istart+1)+strlen($paypalform[5])-1;
+ echo (substr($about, 0, $istart-1));
+ echo implode("\n", $donationform);
+ echo (substr($about, $iend+1, strlen($about)-$iend-1));
+ break;
+ case "agents":
+ vod_adminMenu(6, 'index.php?op=agents');
+
+ include_once $GLOBALS['xoops']->path( "/class/pagenav.php" );
+ xoops_load('XoopsCache');
+ $ret = XoopsCache::read('vod_user_agents');
+ asort($ret, SORT_DESC);
+ $ttl = count($ret);
+ $pagenav = new XoopsPageNav($ttl, $limit, $start, 'start', 'limit='.$limit.'&sort='.$sort.'&order='.$order.'&op='.$op.'&fct='.$fct.'&filter='.$filter.'&fct='.$fct.'&filter='.$filter);
+ $GLOBALS['xoopsTpl']->assign('pagenav', $pagenav->renderNav());
+ foreach (array( 'time','videos','agents','user') as $id => $key) {
+ $GLOBALS['xoopsTpl']->assign(strtolower(str_replace('-','_',$key).'_th'), '<a href="#">'.(defined('_AM_VOD_TH_'.strtoupper(str_replace('-','_',$key)))?constant('_AM_VOD_TH_'.strtoupper(str_replace('-','_',$key))):'_AM_VOD_TH_'.strtoupper(str_replace('-','_',$key))).'</a>');
+ }
+ $GLOBALS['xoopsTpl']->assign('limit', $limit);
+ $GLOBALS['xoopsTpl']->assign('start', $start);
+ $GLOBALS['xoopsTpl']->assign('order', $order);
+ $GLOBALS['xoopsTpl']->assign('sort', $sort);
+ $GLOBALS['xoopsTpl']->assign('filter', $filter);
+ $GLOBALS['xoopsTpl']->assign('xoConfig', $GLOBALS['vodModuleConfig']);
+ $s=0;
+ $i=0;
+ foreach($ret as $time => $agent) {
+ if (is_array($agent)&&$s>=$start&&$i<=$limit) {
+ $GLOBALS['xoopsTpl']->append('useragents', array('time'=>date(_DATESTRING, $time), 'videos'=>$agent['videos'], 'user'=>$agent['user'], 'useragent'=>$agent['useragent']));
+ $i++;
+ }
+ $s++;
+ }
+ $GLOBALS['xoopsTpl']->assign('php_self', $_SERVER['PHP_SELF']);
+ $GLOBALS['xoopsTpl']->display('db:vod_cpanel_useragents_list.html');
+ break;
+
+ case "currency":
+ switch ($fct)
+ {
+ default:
+ case "list":
+ vod_adminMenu(5, 'index.php?op=currency&fct=list');
+
+ include_once $GLOBALS['xoops']->path( "/class/pagenav.php" );
+
+ $currency_handler =& xoops_getmodulehandler('currency', 'vod');
+
+ $criteria = $currency_handler->getFilterCriteria($GLOBALS['filter']);
+ $ttl = $currency_handler->getCount($criteria);
+ $GLOBALS['sort'] = !empty($_REQUEST['sort'])?''.$_REQUEST['sort'].'':'created';
+
+ $pagenav = new XoopsPageNav($ttl, $GLOBALS['limit'], $GLOBALS['start'], 'start', 'limit='.$GLOBALS['limit'].'&sort='.$GLOBALS['sort'].'&order='.$GLOBALS['order'].'&op='.$GLOBALS['op'].'&fct='.$GLOBALS['fct'].'&filter='.$GLOBALS['filter']);
+ $GLOBALS['xoopsTpl']->assign('pagenav', $pagenav->renderNav());
+
+ foreach ($currency_handler->filterFields() as $id => $key) {
+ $GLOBALS['xoopsTpl']->assign(strtolower(str_replace('-','_',$key).'_th'), '<a href="'.$_SERVER['PHP_SELF'].'?start='.$GLOBALS['start'].'&limit='.$GLOBALS['limit'].'&sort='.$key.'&order='.(($key==$GLOBALS['sort'])?($GLOBALS['order']=='DESC'?'ASC':'DESC'):$GLOBALS['order']).'&op='.$GLOBALS['op'].'&filter='.$GLOBALS['filter'].'">'.(defined('_AM_VOD_TH_'.strtoupper(str_replace('-','_',$key)))?constant('_AM_VOD_TH_'.strtoupper(str_replace('-','_',$key))):'_AM_VOD_TH_'.strtoupper(str_replace('-','_',$key))).'</a>');
+ $GLOBALS['xoopsTpl']->assign('filter_'.strtolower(str_replace('-','_',$key)).'_th', $currency_handler->getFilterForm($GLOBALS['filter'], $key, $GLOBALS['sort'], $GLOBALS['op'], $GLOBALS['fct']));
+ }
+
+ $GLOBALS['xoopsTpl']->assign('limit', $GLOBALS['limit']);
+ $GLOBALS['xoopsTpl']->assign('start', $GLOBALS['start']);
+ $GLOBALS['xoopsTpl']->assign('order', $GLOBALS['order']);
+ $GLOBALS['xoopsTpl']->assign('sort', $GLOBALS['sort']);
+ $GLOBALS['xoopsTpl']->assign('filter', $GLOBALS['filter']);
+ $GLOBALS['xoopsTpl']->assign('xoConfig', $GLOBALS['vodModuleConfig']);
+
+ $criteria->setStart($GLOBALS['start']);
+ $criteria->setLimit($GLOBALS['limit']);
+ $criteria->setSort('`'.$GLOBALS['sort'].'`');
+ $criteria->setOrder($GLOBALS['order']);
+
+ $currencys = $currency_handler->getObjects($criteria, true);
+ foreach($currencys as $cid => $currency) {
+ if (is_object($currency))
+ $GLOBALS['xoopsTpl']->append('currency', $currency->toArray());
+ }
+ $GLOBALS['xoopsTpl']->assign('form', vod_currency_get_form(false));
+ $GLOBALS['xoopsTpl']->assign('php_self', $_SERVER['PHP_SELF']);
+ $GLOBALS['xoopsTpl']->display('db:vod_cpanel_currency_list.html');
+ break;
+
+ case "new":
+ case "edit":
+
+ vod_adminMenu(5, 'index.php?op=currency&fct=list');
+
+ include_once $GLOBALS['xoops']->path( "/class/pagenav.php" );
+
+ $currency_handler =& xoops_getmodulehandler('currency', 'vod');
+ if (isset($_REQUEST['id'])) {
+ $currency = $currency_handler->get(intval($_REQUEST['id']));
+ } else {
+ $currency = $currency_handler->create();
+ }
+
+ $GLOBALS['xoopsTpl']->assign('form', $currency->getForm());
+ $GLOBALS['xoopsTpl']->assign('php_self', $_SERVER['PHP_SELF']);
+ $GLOBALS['xoopsTpl']->display('db:vod_cpanel_currency_edit.html');
+ break;
+ case "save":
+
+ $currency_handler =& xoops_getmodulehandler('currency', 'vod');
+ $id=0;
+ if ($id=intval($_REQUEST['id'])) {
+ $currency = $currency_handler->get($id);
+ } else {
+ $currency = $currency_handler->create();
+ }
+ $currency->setVars($_POST[$id]);
+ if (!$id=$currency_handler->insert($currency)) {
+ redirect_header($_SERVER['PHP_SELF'].'?op='.$GLOBALS['op'].'&fct=list&limit='.$GLOBALS['limit'].'&start='.$GLOBALS['start'].'&order='.$GLOBALS['order'].'&sort='.$GLOBALS['sort'].'&filter='.$GLOBALS['filter'], 10, _AM_VOD_MSG_CURRENCY_FAILEDTOSAVE);
+ exit(0);
+ } else {
+ if ($_REQUEST['state'][$_REQUEST['id']]=='new')
+ redirect_header($_SERVER['PHP_SELF'].'?op='.$GLOBALS['op'].'&fct=edit&id='.$_REQUEST['id'] . '&limit='.$GLOBALS['limit'].'&start='.$GLOBALS['start'].'&order='.$GLOBALS['order'].'&sort='.$GLOBALS['sort'].'&filter='.$GLOBALS['filter'], 10, _AM_VOD_MSG_CURRENCY_SAVEDOKEY);
+ else
+ redirect_header($_SERVER['PHP_SELF'].'?op='.$GLOBALS['op'].'&fct=list&limit='.$GLOBALS['limit'].'&start='.$GLOBALS['start'].'&order='.$GLOBALS['order'].'&sort='.$GLOBALS['sort'].'&filter='.$GLOBALS['filter'], 10, _AM_VOD_MSG_CURRENCY_SAVEDOKEY);
+ exit(0);
+ }
+ break;
+ case "savelist":
+
+ $currency_handler =& xoops_getmodulehandler('currency', 'vod');
+ foreach($_REQUEST['id'] as $id) {
+ $currency = $currency_handler->get($id);
+ $currency->setVars($_POST[$id]);
+ if (!$currency_handler->insert($currency)) {
+ redirect_header($_SERVER['PHP_SELF'].'?op='.$GLOBALS['op'].'&fct=list&limit='.$GLOBALS['limit'].'&start='.$GLOBALS['start'].'&order='.$GLOBALS['order'].'&sort='.$GLOBALS['sort'].'&filter='.$GLOBALS['filter'], 10, _AM_VOD_MSG_CURRENCY_FAILEDTOSAVE);
+ exit(0);
+ }
+ }
+ redirect_header($_SERVER['PHP_SELF'].'?op='.$GLOBALS['op'].'&fct=list&limit='.$GLOBALS['limit'].'&start='.$GLOBALS['start'].'&order='.$GLOBALS['order'].'&sort='.$GLOBALS['sort'].'&filter='.$GLOBALS['filter'], 10, _AM_VOD_MSG_CURRENCY_SAVEDOKEY);
+ exit(0);
+ break;
+ case "delete":
+
+ $currency_handler =& xoops_getmodulehandler('currency', 'vod');
+ $id=0;
+ if (isset($_POST['id'])&&$id=intval($_POST['id'])) {
+ $currency = $currency_handler->get($id);
+ if (!$currency_handler->delete($currency)) {
+ redirect_header($_SERVER['PHP_SELF'].'?op='.$GLOBALS['op'].'&fct=list&limit='.$GLOBALS['limit'].'&start='.$GLOBALS['start'].'&order='.$GLOBALS['order'].'&sort='.$GLOBALS['sort'].'&filter='.$GLOBALS['filter'], 10, _AM_VOD_MSG_CURRENCY_FAILEDTODELETE);
+ exit(0);
+ } else {
+ redirect_header($_SERVER['PHP_SELF'].'?op='.$GLOBALS['op'].'&fct=list&limit='.$GLOBALS['limit'].'&start='.$GLOBALS['start'].'&order='.$GLOBALS['order'].'&sort='.$GLOBALS['sort'].'&filter='.$GLOBALS['filter'], 10, _AM_VOD_MSG_CURRENCY_DELETED);
+ exit(0);
+ }
+ } else {
+ $currency = $currency_handler->get(intval($_REQUEST['id']));
+ xoops_confirm(array('id'=>$_REQUEST['id'], 'op'=>$_REQUEST['op'], 'fct'=>$_REQUEST['fct'], 'limit'=>$_REQUEST['limit'], 'start'=>$_REQUEST['start'], 'order'=>$_REQUEST['order'], 'sort'=>$_REQUEST['sort'], 'filter'=>$_REQUEST['filter']), $_SERVER['PHP_SELF'], sprintf(_AM_VOD_MSG_CURRENCY_DELETE, $currency->getVar('name')));
+ }
+ break;
+ }
+ break;
+ case "category":
+ switch ($fct)
+ {
+ default:
+ case "list":
+ vod_adminMenu(2, 'index.php?op=category&fct=list');
+
+ include_once $GLOBALS['xoops']->path( "/class/pagenav.php" );
+
+ $category_handler =& xoops_getmodulehandler('category', 'vod');
+
+ $criteria = $category_handler->getFilterCriteria($GLOBALS['filter']);
+ $ttl = $category_handler->getCount($criteria);
+ $GLOBALS['sort'] = !empty($_REQUEST['sort'])?''.$_REQUEST['sort'].'':'created';
+
+ $pagenav = new XoopsPageNav($ttl, $GLOBALS['limit'], $GLOBALS['start'], 'start', 'limit='.$GLOBALS['limit'].'&sort='.$GLOBALS['sort'].'&order='.$GLOBALS['order'].'&op='.$GLOBALS['op'].'&fct='.$GLOBALS['fct'].'&filter='.$GLOBALS['filter']);
+ $GLOBALS['xoopsTpl']->assign('pagenav', $pagenav->renderNav());
+
+ foreach ($category_handler->filterFields() as $id => $key) {
+ $GLOBALS['xoopsTpl']->assign(strtolower(str_replace('-','_',$key).'_th'), '<a href="'.$_SERVER['PHP_SELF'].'?start='.$GLOBALS['start'].'&limit='.$GLOBALS['limit'].'&sort='.$key.'&order='.(($key==$GLOBALS['sort'])?($GLOBALS['order']=='DESC'?'ASC':'DESC'):$GLOBALS['order']).'&op='.$GLOBALS['op'].'&filter='.$GLOBALS['filter'].'">'.(defined('_AM_VOD_TH_'.strtoupper(str_replace('-','_',$key)))?constant('_AM_VOD_TH_'.strtoupper(str_replace('-','_',$key))):'_AM_VOD_TH_'.strtoupper(str_replace('-','_',$key))).'</a>');
+ $GLOBALS['xoopsTpl']->assign('filter_'.strtolower(str_replace('-','_',$key)).'_th', $category_handler->getFilterForm($GLOBALS['filter'], $key, $GLOBALS['sort'], $GLOBALS['op'], $GLOBALS['fct']));
+ }
+
+ $GLOBALS['xoopsTpl']->assign('limit', $GLOBALS['limit']);
+ $GLOBALS['xoopsTpl']->assign('start', $GLOBALS['start']);
+ $GLOBALS['xoopsTpl']->assign('order', $GLOBALS['order']);
+ $GLOBALS['xoopsTpl']->assign('sort', $GLOBALS['sort']);
+ $GLOBALS['xoopsTpl']->assign('filter', $GLOBALS['filter']);
+ $GLOBALS['xoopsTpl']->assign('xoConfig', $GLOBALS['vodModuleConfig']);
+
+ $criteria->setStart($GLOBALS['start']);
+ $criteria->setLimit($GLOBALS['limit']);
+ $criteria->setSort('`'.$GLOBALS['sort'].'`');
+ $criteria->setOrder($GLOBALS['order']);
+
+ $categorys = $category_handler->getObjects($criteria, true);
+ foreach($categorys as $cid => $category) {
+ if (is_object($category))
+ $GLOBALS['xoopsTpl']->append('categories', $category->toArray());
+ }
+ $GLOBALS['xoopsTpl']->assign('form', vod_category_get_form(false));
+ $GLOBALS['xoopsTpl']->assign('php_self', $_SERVER['PHP_SELF']);
+ $GLOBALS['xoopsTpl']->display('db:vod_cpanel_category_list.html');
+ break;
+
+ case "new":
+ case "edit":
+
+ vod_adminMenu(2, 'index.php?op=category&fct=list');
+
+ include_once $GLOBALS['xoops']->path( "/class/pagenav.php" );
+
+ $category_handler =& xoops_getmodulehandler('category', 'vod');
+ if (isset($_REQUEST['id'])) {
+ $category = $category_handler->get(intval($_REQUEST['id']));
+ } else {
+ $category = $category_handler->create();
+ }
+
+ $GLOBALS['xoopsTpl']->assign('form', $category->getForm());
+ $GLOBALS['xoopsTpl']->assign('php_self', $_SERVER['PHP_SELF']);
+ $GLOBALS['xoopsTpl']->display('db:vod_cpanel_category_edit.html');
+ break;
+ case "save":
+
+ $category_handler =& xoops_getmodulehandler('category', 'vod');
+ $id=0;
+ if ($id=intval($_REQUEST['id'])) {
+ $category = $category_handler->get($id);
+ } else {
+ $category = $category_handler->create();
+ }
+ $catego...
[truncated message content] |