~;
$yymain .= ext_editprofile($INFO{'username'},"additional") . qq~
$txt{'231'}: |
|
$zodtxt{'1'} |
|
$txt{'563'}: |
$dayormonth$txt{'566'} |
~;
if($maptest eq "x0") {
my($loccode, $proflocal, $profcountry, $profcontin, $profx, $profy, $profstate);
($loccode, $proflocal, $profcountry, $profcontin, $profx, $profy, $profstate) = split(/\|/, $memsettings[15]);
fopen(FILE, "$vardir/country.txt");
@country = ;
fclose(FILE);
chomp @country;
foreach $curcountry (sort @country) {
$curcountry =~ s/ //gi;
$curcountry =~ s/\n//gi;
$curcountry =~ s/\r//gi;
$selektet = "";
if($curcountry eq $profcountry) { $selektet = ' selected' }
$thevalue = $curcountry;
$theopt = $curcountry;
$theopt =~ s/\_/ /g;
$cntropt .= qq~
~;
if($view_state) {
$yymain .= qq~
$maptxt{'21'}: |
|
~;
}
$yymain .= qq~
$maptxt{'04'}: |
|
~;
}
elsif($maptest eq "x1") {
my($loccode, $proflocal, $profcountry, $profcontin, $profx, $profy, $profstate, $initstate, $namestate, $viewloc);
($loccode, $proflocal, $profcountry, $profcontin, $profx, $profy, $profstate) = split(/\|/, $memsettings[15]);
$thiscountry = $profcountry;
$thiscountry =~ s/\_/ /g;
($initstate, $namestate) = split(/\,/, $profstate);
my($prlocal, $inistate);
if($proflocal ne "") { $prlocal .= qq~$proflocal,~; } else { $prlocal = ""; }
if($initstate ne "") { $inistate .= qq~$initstate,~; } else { $inistate = ""; }
$viewloc = qq~$prlocal $inistate $thiscountry~;
$yymain .= qq~
$txt{'227'}: $maptxt{'11'} |
$viewloc
|
$txtwet{'1'} :
$txtwet{'2'} : |
|
~;
if($view_state) {
$yymain .= qq~
~;
}
$yymain .= qq~
~;
}
else {
my($loccode, $profcontin, $profx, $profy, $profstate);
fopen(FILE, "$vardir/country.txt");
@country = ;
fclose(FILE);
chomp @country;
foreach $curcountry (sort @country) {
$curcountry =~ s/ //gi;
$curcountry =~ s/\n//gi;
$curcountry =~ s/\r//gi;
$selektet = "";
$thevalue = $curcountry;
$theopt = $curcountry;
$theopt =~ s/\_/ /g;
$cntropt .= qq~$theopt\n~;
}
if($view_state) {
fopen(FILE, "$vardir/state.txt");
@state = ;
fclose(FILE);
chomp @state;
foreach $curstate (@state) {
$curstate =~ s/ //gi;
$curstate =~ s/\n//gi;
$curstate =~ s/\r//gi;
($stateval, $stateopt) = split(/\,/, $curstate);
$stateopt =~ s/\_/ /g;
if($stateval eq "xxx") {
$statopt .= qq~\n~;
$statopt .= qq~$stateopt\n~;
$statopt .= qq~---------------\n~;
}
else { $statopt .= qq~$stateopt\n~; }
}
}
$thisflag = "Noflag";
$yymain .= qq~
$maptxt{'03'}: |
|
~;
if($view_state) {
$yymain .= qq~
$maptxt{'21'}: |
|
~;
}
$yymain .= qq~
$maptxt{'04'}: |
|
~;
}
$yymain .= qq~
|
$txt{'83'}:
$txt{'598'} |
|
$txt{'84'}:
$txt{'599'} |
|
|
$txt{'513'}:
$txt{'600'} |
|
$txt{'603'}:
$txt{'601'} |
|
$txt{'604'}:
$txt{'602'} |
|
|
$txt{'228'}: |
|
~;
if($allowpics) {
opendir(DIR, "$facesdir") || fatal_error("$txt{'230'} ($facesdir)! $txt{'681'}");
@contents = readdir(DIR);
closedir(DIR);
$images = "";
foreach $line (sort @contents){
($name, $extension) = split (/\./, $line);
$checked = "";
if ($line eq $memsettings[13]) { $checked = ' selected'; }
if ($memsettings[13] =~ m~\Ahttp://~ && $line eq 'blank.gif') { $checked = ' selected'; }
if ($extension =~ /gif/i || $extension =~ /jpg/i || $extension =~ /jpeg/i || $extension =~ /png/i ){
if ($line eq 'blank.gif') { $name = $txt{'422'}; }
$images .= qq~$name\n~;
}
}
if ($memsettings[13] =~ m~\Ahttp://~) {
$pic = 'blank.gif';
$checked = ' checked';
$tmp = $memsettings[13];
}
else {
$pic = $memsettings[13];
$tmp = 'http://';
}
$yymain .= qq~
$txt{'229'}:
$txt{'474'} $userpic_limits |
|
$txt{'475'} |
|
~;
}
$yymain .= qq~
~;
if ($blinkytemp eq 'blank.gif') { $blinkysettings[0] = 'blank.gif'; }
opendir(DIRB, "$blinkydir") || fatal_error("$txt{'230'} ($blinkydir)! $txt{'blinky1'}");
@blinkys = readdir(DIRB);
closedir(DIRB);
$blinkyimages = "";
foreach $blinkyline (sort @blinkys){
($blinkyname, $blinkyextension) = split (/\./, $blinkyline);
$blinkychecked = "";
if ($blinkyline eq $blinkysettings[0]) { $blinkychecked = ' selected'; }
if ($blinkysettings[0] =~ m~\Ahttp://~ && $blinkyline eq 'blank.gif') { $blinkychecked = ' selected'; }
if ($blinkyextension =~ /gif/i || $blinkyextension =~ /jpg/i || $blinkyextension =~ /jpeg/i || $blinkyextension =~ /png/i ){
if ($blinkyline eq 'blank.gif') { $blinkyname = $txt{'blinky2'}; }
$blinkyimages .= qq~$blinkyname\n~;
}
}
if ($blinkysettings[0] =~ m~\Ahttp://~) {
$blinkypic = 'blank.gif';
$blinkychecked = ' checked';
$blinkytmp = $blinkysettings[0];
}
else {
$blinkypic = $blinkysettings[0];
$blinkytmp = 'http://';
}
$userpicblinky_tmpwidth ||= $userpicblinky_width ? qq~ width="$userpicblinky_width"~ : '';
$userpicblinky_tmpheight ||= $userpicblinky_height ? qq~ height="$userpicblinky_height"~ : '';
$yymain .= qq~
$txt{'blinky3'}: $txt{'blinky6'} $userpicblinky_limits |
|
$txt{'blinky7'} |
|
|