x
Yes
No
Do you want to visit DriveHQ English website?
Inicio
Características
Precios
Prueba gratuita
Software cliente
Acerca de nosotros
Servidor de archivos
|
Solución de copias de seguridad
|
Servidor FTP
|
Servidor de correo electrónico
|
Alojamiento web
|
Software cliente
Servidor de archivos
Solución de copia de seguridad
Servidor FTP
Servidor de correo electrónico
Alojamiento web
Software cliente
admin.pl - Hosted on DriveHQ Cloud IT Platform
Arriba
Subir
Descargar
Compartir
Publicar
Nueva carpeta
Nuevo archivo
Copiar
Cortar
Eliminar
Pegar
Clasificación
Actualizar
Ruta de la carpeta: \\LITTLELEV\ImageFolioLite\admin\admin.pl
Girar
Efecto
Propiedad
Historial
############################################################################### # BizDesign ImageFolio Lite Edition 4.2 (Four-dot-Two) ############################################################################### # # ## ### VERSION : 4.2 # #### ## ## RELEASED ON : 02/15/2007 # ## ## ## LAST MODIFIED : 02/15/2007 # ########## ## # ## ### ## # ## ### ######## # ############################################################################### # Released by BizDesign, Inc. # written by Dirk Koppers and Greg Raaum of BizDesign # # Purchasing : http://imagefolio.com/purchase/ # Support : http://imagefolio.com/support/ # Phone : (214) 642-9787 # Email : sales@bizdesign.com ############################################################################### # COPYRIGHT AND LICENSE INFORMATION : # # Copyright (c) 1999-2007 BizDesign, Inc. All rights reserved. # # Selling or distributing the code for this program without prior written # consent is expressly forbidden. # # One licensed copy of the program may reside on a single server, in use by a # single domain. For each installed instance of the program, a separate # license is required. # # Licensed users may alter or modify this software, at their own risk, of # course. They may also hire others to modify their own copy of the code, as # long as the code is not transferred to or retained by the individual who is # hired (unless he/she is also a license holder). Although license-holders # may modify the code for their use, modified code may NOT be resold or # distributed. # # THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESSED OR IMPLIED WARRANTIES, # INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND # FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL BIZDESIGN, # INC. OR ITS CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, # SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, # PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR # BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER # IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) # ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE # POSSIBILITY OF SUCH DAMAGE. # # BizDesign, Inc. is not liable for any conduct associated with image gallery # activity, nor for any binary media posted using this program, including but # not imited to images, photographs, movies, and clipart. # # The user must assume the entire risk of using the program. Although this # program has been thoroughly tested on BizDesign's servers, BizDesign does not # warrant that it works on all servers and will not be held liable for anything, # including but not limited to, misusage, error, or loss of data. ANY # LIABILITY OF THE SELLER WILL BE LIMITED EXCLUSIVELY TO PRODUCT REPLACEMENT # OR REFUND OF PURCHASE PRICE. Use at your own risk! ############################################################################### # Do not modify below this line unless you know what you are doing. ############################################################################### require "$currdir/admin/init.pl"; if ($using_multiuser_mod) { require "$config_directory/users_config.pl"; } &get_session; &check_file; ⊤ ############################################################################### # TOP # Determines what to do ############################################################################### sub top { $| = 1; # flush output &load_values; if ($FORM{'login'}) { &admin_login; } elsif ($FORM{'logout'}) { &logout; print "Location:$imagefolio_url\n\n"; } elsif (!$is_admin or $FORM{'dologin'}) { &logout; &admin_login; &login; } else { &admin_login unless $cgi eq "admin_user_setup.pl"; &main; } exit; } sub admin_login { require "$admindir_directory/login.pl"; } ############################################################################### # START URL ############################################################################### sub start_url { if ($FORM{'start'}) { require "$libpath/crypt.pl"; $start_url = &admin_decrypt($FORM{'start'}, $secret_key); $start_url = qq| |; } } ############################################################################### # MAIN # Determines what to do ############################################################################### sub main { &start_url; if ($cgi eq "keywords.pl") { require "$admindir_directory/keywords.pl"; if ($kwstep eq "2") { &keywords_step_2; } elsif ($kwstep eq "3") { &keywords_step_3; } elsif ($kwstep eq "final") { &keywords_final; } else { &keywords_step_1; } } elsif ($cgi eq "iptc_keywords.pl") { require "$admindir_directory/iptc_keywords.pl"; if ($kwstep eq "2") { &keywords_step_2; } elsif ($kwstep eq "3") { &keywords_step_3; } elsif ($kwstep eq "final") { &keywords_final; } else { &keywords_step_1; } } elsif ($cgi eq "remove.pl") { require "$admindir_directory/remove.pl"; if ($rmstep eq "2") { &remove_step_2; } elsif ($rmstep eq "final") { &remove_final; } else { &remove_step_1; } } elsif ($cgi eq "admin_user_setup.pl") { require "$admindir_directory/admin_user_setup.pl"; if ($newaction eq "adduser") { &step_two; } else { &step_one; } } elsif ($cgi eq "gallery_group_setup.pl") { require "$admindir_directory/gallery_group_setup.pl"; if ($newaction eq "addgroup") { &step_two; } elsif ($newaction eq "updategroup") { &step_two; } else { &step_one; } } elsif ($cgi eq "categories.pl") { require "$admindir_directory/categories.pl"; if ($cataction eq "add") { &add_category; } elsif ($cataction eq "adddesc") { &add_cat_desc; } elsif ($cataction eq "rename") { &rename_category; } elsif ($cataction eq "delete") { &delete_category; } elsif ($cataction eq "batch_me") { &batch_thumbnail; } elsif ($cataction eq "index_me") { &build_index; } } elsif ($cgi eq "images.pl") { require "$admindir_directory/images.pl"; if ($imgaction eq "upload") { &upload_image; } elsif ($imgaction eq "iBULC_iframe") { &iBULC_iframe; } elsif ($imgaction eq "rename") { &rename_image; } elsif ($imgaction eq "delete") { &delete_image; } } elsif ($cgi eq "admin_user.pl") { require "$admindir_directory/admin_user.pl"; if ($useraction eq "modify") { &modify_user; } elsif ($useraction eq "delete") { &delete_user; } } # elsif ($cgi eq "gallery_user.pl") { require "gallery_user.pl"; require "$libpath/users_access.pl"; # if ($useraction eq "modify") { &modify_user; } # elsif ($useraction eq "delete") { &delete_user; } # } # elsif ($cgi eq "accounts.pl") { require "$libpath/crypt.pl"; require "$libpath/accounts.pl"; $admin_cgi = 1; # if ($useraction eq "modify") { &modify_user; } # elsif ($useraction eq "add") { if ($FORM{'step'} == 2) {&account_validate;} else {&account_register;} &account_template;} # elsif ($useraction eq "delete") { &delete_user; } # } elsif ($cgi eq "orders.pl") { require "$commercepath/admin/orders.pl"; if ($ordaction eq "view") { &view_order; } elsif ($ordaction eq "modify") { &modify_order; } elsif ($ordaction eq "delete") { &delete_order; } elsif ($ordaction eq "download") { &edit_download; } elsif ($ordaction eq "status") { &edit_status; } else { &list_orders; } } elsif ($cgi eq "accounts.pl") { require "$admindir_directory/accounts.pl"; if ($useraction eq "modify") { &modify_user; } elsif ($useraction eq "add") { &add_user; } elsif ($useraction eq "delete") { &delete_user; } } elsif ($cgi eq "gallery_group.pl") { require "$admindir_directory/gallery_group.pl"; require "$libpath/users_access.pl"; if ($useraction eq "modify") { &modify_group; } elsif ($useraction eq "delete") { &delete_group; } elsif ($useraction eq "viewgroups") { &view_groups; } } elsif ($cgi eq "thumb_island.pl") { require "$admindir_directory/thumb_island.pl"; if ($thumbaction eq "create") { &create_tisland; } elsif ($thumbaction eq "show") { &show_tisland; } } elsif ($cgi eq "disk_usage.pl") { require "$admindir_directory/disk_usage.pl"; &disk_usage; } elsif ($cgi eq "config_editor.pl") { require "$admindir_directory/config_editor.pl"; &menu; } elsif ($cgi eq "skins.pl") { require "$admindir_directory/skins.pl"; &menu; } elsif ($cgi eq "templates.pl") { require "$admindir_directory/templates.pl"; &templates; } elsif ($cgi eq "headerfooter.pl") { require "$admindir_directory/headerfooter.pl"; &headerfooter; } elsif ($cgi eq "cat_price.pl") { require "$commercepath/admin/cat_price.pl"; if ($cataction eq "addprice") { &add_cat_price; } } else { $ADMINHOME = "active"; &get_header; &show_instructions; &get_footer; } } ############################################################################### # GET SESSION # Gets the session and session file location ############################################################################### sub get_session { if ($COOKIE{'IF_UID'}) { $FORM{'uid'} = $COOKIE{'IF_UID'}; $unique = $COOKIE{'IF_UID'}; # first, we get the random id $sessionid = "$sessions_dir/$unique.admin"; # second, we get the location } else { $sessionid = "111aaa.11a.admin"; # give a bogus name if nonexistent } } ############################################################################### # CHECK FILE # checks to see if an id file exists before using it ############################################################################### sub check_file { $exists = '1' if -e $sessionid; if ($exists eq '1') { $is_admin=1; &parse_session; } } ############################################################################### # PARSE SESSION # Opens and reads a session file's contents ############################################################################### sub parse_session { open (SESSION,"$sessionid") or print &Error('Unable to verify your identity.'); my(@userdata)=
; close(SESSION); open(SESSION,">$sessionid") or print &Error('Unable to verify your identity.'); if ($useflock) { flock(SESSION, 2); } foreach $userdata (@userdata) { ($userid, $firstname, $lastname, $email, $desc_per, $upload_per, $addcat_per, $rencat_per, $delcat_per, $build_per, $addusr_per, $modusr_per, $delusr_per, $demo_per) = split(/\|/, $userdata); print SESSION "$userid|$firstname|$lastname|$email|$desc_per|"; print SESSION "$upload_per|$addcat_per|$rencat_per|$delcat_per|"; print SESSION "$build_per|$addusr_per|$modusr_per|$delusr_per|$demo_per"; } if ($useflock) { flock(SESSION, 8); } close(SESSION); $admin_demo_mode = 1 if ($demo_per eq "Yes"); } ############################################################################### # LOGOUT # Deletes the current session file for an effective logout ############################################################################### sub logout { &get_session; if (-e "$sessions_dir/$unique.admin") { unlink("$sessions_dir/$unique.admin"); } print "Set-Cookie: IF_UID=; path=/;\n"; } ############################################################################### # LOGIN # Our login screen ############################################################################### sub login { my $logo = qq|
|; $logo = qq|
ImageFolio
| if $default_skin_loaded; print "Content-type: text/html\n\n"; print qq|
$site_title Administration : Login
|; if ($use_cookies) { &print_cookie; print qq|\n\n|; } else { print qq|\n\n|; } my $login_up_info = qq|
For this demo, use the following login
Username:
Admin
Password:
ImageFolio
| if $imagefolio_url =~ /^http\:\/\/if4\.imagefolio\.com/i; print qq|
$login_up_info
$logo
Admin Login
Username
Password
|; if ($use_cookies) { print qq|
|; } else { print qq|
|; } print qq|
|; } ############################################################################### # GET CATLIST # We read in the list of all of the categories from the categories.txt file # which is built by build.pl and create a selection form ############################################################################### sub get_catlist { open (FILE,"$catfile") or &Error ("Could not open category index, $catfile. Reason: $!"); my(@LINES)=
; close(FILE); chomp @LINES; @LINES = sort { lc($a) cmp lc($b) } @LINES; $catlist = qq|
|; foreach $LINE (@LINES) { $space = ""; ($category, $imagecount) = split(/\t/, $LINE); @categories = split (/\//, $category); foreach $cat (@categories) { $space .= "......"; } $newcategory = pop @categories; $newcategory = &get_clean_name($newcategory); $space =~ s/\.\.\.\.\.\.//; $catlist .= qq|
$space$newcategory|; } $catlist .= qq|
|; } ############################################################################### # GET IMAGE INFO # Get some stats about this image ############################################################################### sub get_image_info { ($thisimage) = $image =~ m,^(.*)\.\w+$,; $thisimage =~ s/$mypattern//g; foreach $key (keys %extensions) { my $lckey = lc($key); my $uckey = uc($key); $extfound = 0; $mykey = ""; my ($if_filetype, $if_link, $if_tagfile, $if_target, $default_icon); if ( -e "$image_directory/$category/$thisimage.$lckey" ) { $mykey = $lckey; $extfound = 1; } elsif ( -e "$image_directory/$category/$thisimage.$uckey" ) { $mykey = $uckey; $extfound = 1; } if ($extfound) { $if_filetype = $extensions{$key}[0]; $thisimage .= ".$mykey"; $file_type = $if_filetype; ($filesize, $filedate) = (stat("$image_directory/$category/$thisimage"))[7,9]; #get size, timestamp $filedate = unix_to_date($filedate); #convert unix time to a legible day last; } } if (!$extfound && $name =~ /$mypattern/i) { ($filesize, $filedate) = (stat("$image_directory/$category/$image"))[7,9]; #get size, timestamp $filedate = unix_to_date($filedate); #convert unix time to a legible day $file_type = "No Match Found"; } if ($filesize < 1500) { $filesize = commify($filesize) . " bytes"; } else { $filesize = int($filesize/1000) . " Kb"; } } ############################################################################### # GET HEADER # The top part of all pages (contains the nav stuff) ############################################################################### sub get_header { $admin_demo_html = () if !$admin_demo_mode; if (($build_per eq 'Yes') && $remind_rebuild) { $my_logout = qq|
|; my $logout_img = qq|
|; my $home_img = qq|
|; my $gallery_img = qq|
|; if ($default_skin_loaded) { $logo_img = qq|
BizDesign ImageFolio
|; $logout_img = qq|
Logout
|; $home_img = qq|
Home
|; $gallery_img = qq|
Gallery
|; $img_spacer = qq|
|; } $admin_header .= qq|
$site_title Administration : $pagetitle
$start_url $admin_demo_html
$img_spacer$logo_img
$my_logout>$logout_img$img_spacer
$home_img
$img_spacer
$gallery_img
$img_spacer
|; if ($addusr_per eq "Yes") { $admin_header .= qq|
C O N F I G U R A T I O N
\n
Configuration Editor
\n
Skins Manager
|; } $admin_header .= qq|
F I L E S
|; if (($desc_per eq "Yes") && ($if2_search or $if2_caption or $if2_thumbcaption)) { $admin_header .= qq|
\n
Add Descriptions
|; } if ($upload_per eq "Yes") { $admin_header .= qq|
\n
Upload Files
|; } if ($delcat_per eq "Yes") { $admin_header .= qq|
\n
Delete Files
|; } if ($desc_per eq "Yes") { $admin_header .= qq|
\n
Add File Info (IPTC)
|; } if ($addcat_per eq "Yes") { $admin_header .= qq|
\n
Add Category
|; } if ($rencat_per eq "Yes") { $admin_header .= qq|
\n
Add Descriptions
\n
Rename Category
|; } if ($delcat_per eq "Yes") { $admin_header .= qq|
\n
Delete Category
|; $admin_header .= qq|
\n
Add Category Pricing
| if $IF_edition eq "Commerce" && $demo_per eq "No";; } $admin_header .= qq|
\n
Disk Usage
D A T A B A S E S
|; if ($using_batch_thumbnail_mod) { $admin_header .= qq|
\n
Batch Thumbnail
|; } if ($build_per eq "Yes") { $admin_header .= qq|
\n
Rebuild Index
|; $admin_header .= qq|
\n
Orders Database
| if $IF_edition eq "Commerce" && $demo_per eq "No"; } $admin_header .= qq|
A D M I N I S T R A T O R S
|; if ($allow_multiple_administrators) { if ($addusr_per eq "Yes") { $admin_header .= qq|
\n
Add New Admin
|; } if ($modusr_per eq "Yes") { $admin_header .= qq|
\n
Modify Admin
|; } if ($delusr_per eq "Yes") { $admin_header .= qq|
\n
Delete Admin
|; } } # end allow multiple users else { $admin_header .= qq|
<$admin_font>
Disabled
|; } unless ($IF_edition eq "Lite") { $admin_header .= qq|
G A L L E R Y G R O U P S
|; if ($using_multiuser_mod) { if ($modusr_per eq "Yes") { $admin_header .= qq|
\n
View Users & Groups
|; } if ($addusr_per eq "Yes") { $admin_header .= qq|
\n
Add New Group
|; } if ($modusr_per eq "Yes") { $admin_header .= qq|
\n
Modify Group
|; } if ($delusr_per eq "Yes") { $admin_header .= qq|
\n
Delete Group
|; } } # end allow multiple users else { $admin_header .= qq|
<$admin_font>
Disabled
|; } $admin_header .= qq|
G A L L E R Y U S E R S
|; if ($using_multiuser_mod) { if ($user_registration == 1) { if ($addusr_per eq "Yes") { $admin_header .= qq|
\n
Add New User
|; } if ($modusr_per eq "Yes") { $admin_header .= qq|
\n
Modify User
|; } if ($delusr_per eq "Yes") { $admin_header .= qq|
\n
Delete User
|; } } elsif (($user_registration == 2) && ($addusr_per eq "Yes" or $modusr_per eq "Yes" or $delusr_per eq "Yes")) { require "$db_link_path/$db_link_file"; if ($control_panel_url) { $admin_header .= qq|
\n
Control Panel
|; } else { $admin_header .= qq|
<$admin_font>
No Control Panel
|;} } else { $admin_header .= qq|
<$admin_font>
No Control Panel
|; } } # end allow multiple users else { $admin_header .= qq|
<$admin_font>
Disabled
|; } } $admin_header .= qq|
G E N E R A L
\n
Admin Home
Gallery Mode
<$admin_font>
$my_logout class="sideroll" alt="Logout of the Administration Area" title="Logout of the Administration Area"> Logout
Tech Support
<$admin_small_font>
© 1999-2007
BizSecure, Inc.
|; $admin_header =~ s/%%%(.*)%%%/${$1}/g; print $admin_header; } ############################################################################### # GET HEADER # Bottom piece of all the pages ############################################################################### sub get_footer { print qq|
|; } ############################################################################### # PRINT COOKIE # Javascript code for saving the username and password for login purposes ############################################################################### sub print_cookie { print qq| |; } ############################################################################### # UNIX TO DATE # Takes in a unix time and coverts it to legible form ############################################################################### sub unix_to_date { my $time = shift; my ($sec, $min, $hour, $day, $mon, $year, $dweek, $dyear, $tz) = localtime $time; my @months = qw!01 02 03 04 05 06 07 08 09 10 11 12!; $year += 1900; return "$months[$mon]/$day/$year"; } ############################################################################### # COMMIFY # puts commas in those large numbers ############################################################################### sub commify { my $text = reverse $_[0]; $text =~ s/(\d\d\d)(?=\d)(?!\d*\.)/$1,/g; return scalar reverse $text; } ############################################################################### # LOAD VALUES # here we define some commonly used variables ############################################################################### sub load_values { $rmstep = $FORM{'rmstep'}; $kwstep = $FORM{'kwstep'}; $catstep = $FORM{'catstep'}; $cataction = $FORM{'cataction'}; $category = $FORM{'category'}; $image = $FORM{'image'}; $keywords = $FORM{'keywords'}; $icaption = $FORM{'icaption'}; $tcaption = $FORM{'tcaption'}; $type = $FORM{'type'}; $cgi = $FORM{'cgi'}; $catname = $FORM{'catname'}; $imgaction = $FORM{'imgaction'}; $newaction = $FORM{'newaction'}; $imgstep = $FORM{'imgstep'}; $useraction = $FORM{'useraction'}; $thumbaction = $FORM{'thumbaction'}; $userstep = $FORM{'userstep'}; $ifuser = $FORM{'ifuser'}; $ifgroup = $FORM{'ifgroup'}; $description = $FORM{'description'}; $ordaction = $FORM{'ordaction'}; $orddate = $FORM{'orddate'}; $ordtype = $FORM{'ordtype'}; $order = $FORM{'order'}; $order =~ s/\s+//g; $orddate = $FORM{'orddate'}; $ordstep = $FORM{'ordstep'}; } ############################################################################### # SHOW INSTRUCTIONS # Instructions are displayed if no data is received ############################################################################### sub show_instructions { require "$currdir/admin/gen_stats.pl"; print qq|
ImageFolio Administration
Overview
Date
$nowdate
Licensed To
$ENV{'HTTP_HOST'}
Version
$imagefolio_version $IF_edition Edition
Files
$total_thumbs
Categories
$total_cats
Keywords
$total_keywords
Admins
$total_admins
Groups
$total_groups
Users
$total_users
Last Rebuild
$index_date
Last Backup
$last_backup_date
Disk Usage
$total_disk_usage
Machine
$if_machine
OS/Kernel
$info_OS $if_proc_release
Processor
$if_processor
|; print qq|
C O N F I G U R A T I O N
Configuration Editor
This will allow you edit ImageFolio's setup and configuration settings, add or remove functionality, and quite a few other things. Please be careful!
Skins Manager
This will allow you view descriptions and images of skins, install new skins when available, remove existing skins, restore existing skins to original condition (in case you've made modifications and messed up), and/or duplicate existing skins to create your own.
| if $addusr_per eq "Yes"; print qq|
F I L E S
|; if ($if2_search or $if2_caption or $if2_thumbcaption) { print qq|
Add Descriptions
This is the old ImageFolio keywords system compatible with IF 2.x. Please use IPTC instead!
| if $desc_per eq "Yes"; } print qq|
Upload Files
This will allow you to batch upload your photos, movies, pdf documents, zipped files, etc.
| if $upload_per eq "Yes"; print qq|
Delete Files
This will allow you to remove files from the category or subcategory of your choice.
| if $delcat_per eq "Yes"; print qq|
Add File Info (IPTC)
This allows you to add searchable keywords, captions, copyright info, etc. to your files using the IPTC standard.
| if $desc_per eq "Yes"; print qq|
Thumbnail Island
This allows you to show any thumbnail from your ImageFolio gallery on any of your other web pages.
|; print qq|
C A T E G O R I E S
|; print qq|
Add Category
This will create a new directory in your image directory either as a sub-category or main (parent) category.
| if $addcat_per eq "Yes"; print qq|
Add Descriptions
This allows you to add descriptions to your categories and subcategories.
Rename Category
This allows you to rename an existing directory (category) in your image directory.
| if $rencat_per eq "Yes"; print qq|
Delete Category
Warning! This will delete an existing directory (category) and all associated images, sub-directories, and their associated images.
| if $delcat_per eq "Yes"; print qq|
Disk Usage
This allows you to view total per category disk usage and total gallery disk usage in a printable format.
|; print qq|
D A T A B A S E S
|; print qq|
Rebuild Index
This will backup your existing category and file indices; rebuild the category index and gather file counts; compile disk usage statistics; and extract IPTC keywords, rates, counts, and other data from your files and deposit them as searchwords into the main database and the global/common keywords database. The Rebuild Index should be performed each time you have *finished* uploading and thumbnailing new content, added new categories, or modified IPTC information.
Batch Thumbnail
Automates the process of thumbnailing and resizing your images. This tool will create a thumbnail image and preview image for every un-thumbnailed image in the category of your choice, according to your specifications.
A D M I N I S T R A T O R S
|; print qq|
Add New Admin
This will allow you to add a new administrator and selectively set permissions for this administrator.
| if $addusr_per eq "Yes"; print qq|
Modify Admin
This will allow you to modify the name, username, password, email address, or permissions for any administrator.
| if $modusr_per eq "Yes"; print qq|
Delete Admin
This will allow you to remove a administrator from the administrators database and effectively prevent them from logging in again.
| if $delusr_per eq "Yes"; } if ($using_multiuser_mod) { print qq|
G A L L E R Y G R O U P S
|; print qq|
View Users & Groups
This will allow you to view a list of all users and groups and their respective permissions, usernames, and passwords.
| if $modusr_per eq "Yes"; print qq|
Add New Group
This will allow you to add a new group and selectively set permissions for this group.
| if $addusr_per eq "Yes"; print qq|
Modify Group
This will allow you to modify the group permissions for any group.
| if $modusr_per eq "Yes"; print qq|
Delete Group
This will allow you to remove a group from the group database.
| if $delusr_per eq "Yes"; } if ($using_multiuser_mod) { print qq|
G A L L E R Y U S E R S
|; if ($user_registration == 1) { print qq|
Add New User
This will allow you to add a new user and choose the group he belongs to.
| if $addusr_per eq "Yes"; print qq|
Modify User
This will allow you to modify the username, password, email address and group for any user.
| if $modusr_per eq "Yes"; print qq|
Delete User
This will allow you to remove a user from the user database and effectively prevent them from logging in again.
| if $delusr_per eq "Yes"; } elsif (($user_registration == 2) && ($addusr_per eq "Yes" or $modusr_per eq "Yes" or $delusr_per eq "Yes")) { require "$db_link_path/$db_link_file"; if ($control_panel_url) { print qq|
Control Panel
This will forward you to the control panel that is used to maintain your user database.
|; } else { print qq|
No Control Panel
No control panel is supplied, or no permission to maintain your user database.
|; } } else { print qq|
No Control Panel
No control panel is supplied, or no permission to maintain your user database.
|;} } print qq|
G E N E R A L
Admin Home
This is the page you are currently reading.
Gallery Mode
This allows you to administer your gallery while viewing your gallery.
$my_logout class="roll2">Logout
This will delete your session file and prevent others from accessing the Administration Area using your current session id.
Tech Support
This will take you to the ImageFolio Technical Support Area.
<$admin_small_font>© Copyright 1999-2007
BizSecure, Inc.
|; } ############################################################################### # Error # shows error message if form not filled out correctly ############################################################################### sub ErrorOLD{ print "Content-type: text/html\n\n"; local ($whoops) = @_; print qq|
<$admin_font color="#ffffff">
Error!
<$admin_font>
<$admin_font>
$whoops
If the button below does not take you back, please use your browser's back button to go back and try again.
<$admin_font>
|; exit; } 1;
admin.pl
Dirección de la página
Dirección del archivo
Anterior 1/27
Siguiente
Descargar
( 54 KB )
Comments
Total ratings:
0
Average rating:
No clasificado
of 10