obey-robots.txt
  

pHpFusion-Nederlands


 Nederlands-, Vlaamstalige pHp-Fusion support site voor België en Nederland.


 PHP-Fusion is een open-source "Content Magagement System" (CMS) geschreven in PHP en MySQL.
 Het beheren van uw site gaat met een eenvoudig en begrijpbaar administratie systeem.
 PHP-Fusion bevat o.a. een forum, shoutbox, enquêtes, profielpagina's, nieuws, fotogalerij, weblinks enz.
 Uiteraard is de standaardinstallatie nog uit te breiden met infusies (modules) en andere thema's (skins).

Inloggen
Geef gebruikersnaam

Wachtwoord



Nog geen lid?

» Registreer «
Als geregistreerd lid kunt u reageren en alle extra functies gebruiken.

Wachtwoord vergeten?
Verzoek nieuw wachtwoord.
Gebruikers Online
» Gasten online: 6

» Leden online: 0
» Nieuwste lid: BlackHawk
Recent Online
Onderwerp bekijken
Vragen/Problemen in verband met infusions
 Onderwerp afdrukken
Uitlijning pop up?
Stoempie
Ik het kalender panel van Zwar kun je klikken op een datum dat een event heeft deze krijg dan een popup maar is gemaakt voor als het panel aan de rechterzijde staat en bij mij staat dit aan de linker zijde de popup verdwijnt dan naast de pagina en je kan niet lezen wat er te doen is ik heb geprobeerd met text-align maar dit werkte niet kunne jullie mij helpen en trouwens ik heb al zeer veel aan jullie hulp gehad alvast bedankt om me verder te helpen.
Ik voeg de originele code toe onderaan staat de popup.


/* CSS - file for zWar-Calendar-Panel by Zezoar */
/*leave the classes empty, to take the standards, change the clases below, to alter the calendar style.*/


/*Calendar Head*/
.zwc-maintable { } /*the container Table of the Calendar ()*/
.zwc-nav {
   font-weight:bold;
   font-size:9px;
   padding:2px; } /*the nav cells (
)*/
.zwc-daybar {
   font-size:8px;
   padding:2px;
   font-weight:bold; } /*the second row, showing the days (
)*/

/*Calendar Cells*/
.zwc-emptycell { padding:2px; } /*a calendar cell, which doesnt belong to the chosen month (
)*/
.zwc-emptycell-we {   padding:2px; background-color:#f6f6f6; } /*a calendar cell, which doesnt belong to the chosen month and is a weekend-day(
)*/
.zwc-weekday { padding:2px; } /*a calendar cell, with a normal working-day, WITHOUT event (
)*/
.zwc-weekday-event { padding:2px; font-weight:bold;} /*a calendar cell, bormal working day WITH Event (
)*/
.zwc-weekend {    padding:2px; background-color:#f6f6f6; } /*a calendar cell, weekend day WITHOUT event (
)*/
.zwc-weekend-event { padding:2px; background-color:#f6f6f6; font-weight:bold;} /*a calendar cell, weekend day WITH event (
)*/
.zwc-today { padding:2px; background-color:#fbbf00; } /*a calendar cell, present day WITHOUT event (
)*/
.zwc-today-event { padding:2px; background-color:#fbbf00; font-weight:bold;} /*a calendar cell, present day WITH event (
)*/

/*defintions for ALL calendar cells*/
.zwc-nav, .zwc-daybar, .zwc-emptycell, .zwc-emptycell-we, .zwc-weekday, .zwc-weekday-event, .zwc-weekend, .zwc-weekend-event, .zwc-today, .zwc-today-event {
   border:1px solid #cccccc;
   border-top:none; border-left:none;
}

/*Calendar-Popups*/
.zwc-popup-table { width:150px; } /*the container table, for the pupop, which appears when clicking on an event-cell ()*/
.zwc-popup-head {  }  /*the head displaying "matches" or "birthdays, and the popup-closing-link*/
.zwc-popup-content {  } /*the popup-cells, displaying the matches/birthdays*/\n";
         }
      }
   }
   $result = dbquery("SELECT user_id, user_name, DAYOFMONTH(user_birthdate) as user_bday FROM ".DB_USERS." WHERE MONTH(user_birthdate)='".$zwc_month."'");
   if (dbrows($result)) {
      while($data = dbarray($result)) {
         if (!isset($zwar_cal_wararray[$data['user_bday']]['bdays'])) { $zwar_cal_wararray[$data['user_bday']]['bdays'] = ""; } {
            $zwar_cal_wararray[$data['user_bday']]['bdays'] .= "";
         }
      }
   }
   $zwar_cal_info = "";
   if (count($zwar_cal_wararray)) {
      foreach ($zwar_cal_wararray as $zwar_cal_warday => $zwar_cal_warinfo) {
         $zwar_cal_info .= "

         
 
Wanabo
Ik heb de code doorgekeken, maar kan ook zo niets vinden.

Wellicht kan de originele ontwikkelaar je helpen, maar had die zijn site niet op "maintenance" staan?
 
Stoempie
Ja dat klopt die staat al een hele tijd op "maintenance"
 
DubSev
Dit lijkt me meer iets van een *.js bestand (offset x- en y-as).
...
 
Stoempie
In de infuse is geen js bestand dus ik weet niet of ik dit ergens anders moet gaan zoeken ?
 
DubSev
ik zie in de code een "position: absolute"....

laat hier eens het PHP-bestand zien
...
 
Stoempie
Hier het php bestand van de Zwar kalender



/*-------------------------------------------------------+
| PHP-Fusion Content Management System
| Copyright (C) 2002 - 2008 Nick Jones
| http://www.php-fusion.co.uk/
+--------------------------------------------------------+
| Filename: zwar_calendar_panel.php
| Author: ZEZoar
+--------------------------------------------------------+
| This program is released as free software under the
| Affero GPL license. You can redistribute it and/or
| modify it under the terms of this license which you
| can read by viewing the included agpl.txt or online
| at www.gnu.org/licenses/agpl.html. Removal of this
| copyright header is strictly prohibited without
| written permission from the original author(s).
+--------------------------------------------------------*/
if (!defined("IN_FUSION")) { die("Access Denied"); }

if (file_exists(INFUSIONS."zwar_calendar_panel/locale/".$settings['locale'].".php")) {
   include_once INFUSIONS."zwar_calendar_panel/locale/".$settings['locale'].".php";
} else {
   include_once INFUSIONS."zwar_calendar_panel/locale/English.php";
}

if (file_exists(INFUSIONS."zwar_warscript/zwar_functions.php") && dbcount("(inf_id)", DB_INFUSIONS, "inf_folder='zwar_warscript'")) {
   add_to_head("");
   require_once INFUSIONS."zwar_warscript/zwar_functions.php";
   
   $zwc_time_now = time()+($settings['timeoffset']*3600);
   $zwc_year = isset($_POST['zwar_calyear']) && isnum($_POST['zwar_calyear']) ? $_POST['zwar_calyear'] : date("Y", $zwc_time_now);
   $zwc_month = isset($_POST['zwar_calmonth']) && isnum($_POST['zwar_calmonth']) ? $_POST['zwar_calmonth'] : date("n", $zwc_time_now);
   $zwc_month_now = mktime(0,0,0,$zwc_month, 1, $zwc_year);
   switch ($zwc_month) {
      case 1: $zwc_month_forward=$zwc_month+1;$zwc_month_back=12;$zwc_year_forward=$zwc_year;$zwc_year_back=$zwc_year-1; break;
      case 12: $zwc_month_forward=1;$zwc_month_back=$zwc_month-1;$zwc_year_forward=$zwc_year+1;$zwc_year_back=$zwc_year; break;
      default: $zwc_month_forward=$zwc_month+1;$zwc_month_back=$zwc_month-1;$zwc_year_forward=$zwc_year;$zwc_year_back=$zwc_year;
   }
   $zwc_first_day = date("w", $zwc_month_now)-1;
   $zwc_first_day = $zwc_first_day == -1 ? 6 : $zwc_first_day;
   $swc_month_daycount = date("t", $zwc_month_now);
   $zwc_monthname = date("F", $zwc_month_now);
   
   $zwar_cal_wararray = array();
   $result = dbquery("SELECT war_id, war_date, war_game_id, opp_name_short, DAYOFMONTH(FROM_UNIXTIME(war_date)) AS warday FROM ".DB_ZWAR_WARS." AS zw LEFT JOIN ".DB_ZWAR_OPPONENTS." AS zop ON zw.war_opp_id=zop.opp_id WHERE MONTH(FROM_UNIXTIME(war_date))='".$zwc_month."' AND YEAR(FROM_UNIXTIME(war_date))='".$zwc_year."' ORDER BY war_date ASC");
   if (dbrows($result)) {
      while($data = dbarray($result)) {
         if (!isset($zwar_cal_wararray[$data['warday']]['matches'])) { $zwar_cal_wararray[$data['warday']]['matches'] = ""; } {
            $zwar_cal_wararray[$data['warday']]['matches'] .= "
".display_zwar_games($data['war_game_id'], true, false)." ".showdate("%R", $data['war_date'])." vs ".$data['opp_name_short']."
".$data['user_name']."
";
         $closelinkset = false;
         if (isset($zwar_cal_warinfo['matches']) && $zwar_cal_warinfo['matches']!="") {
            $zwar_cal_info .= "
            
            
            ".$zwar_cal_warinfo['matches'];
            $closelinkset = true;
         }
         if (isset($zwar_cal_warinfo['bdays']) && $zwar_cal_warinfo['bdays']!="") {
            $zwar_cal_info .= "
            
            ".(!$closelinkset ? "" : "")."
            ".$zwar_cal_warinfo['bdays'];   
         }
         $zwar_cal_info .= "
".$locale['zwar_cal01']."X
".$locale['zwar_cal02']."X
";
      }
   }
   openside($p_data['panel_name'], true, "on");
   echo "

   
   
   
   
   ";
   for ($i=0;$i<7;$i++) {
      echo "";
   }
   echo "";
   $zwc_day_count = 1;
   for ($i=0;$i<$zwc_first_day;$i++) {
      echo "";
      $zwc_day_count++;
   }
   for ($i=1;$i>$i";
      $zwc_day_count++;
      if ($zwc_day_count > 7 && $i < $swc_month_daycount) {
         echo "";
         $zwc_day_count = 1;
      }
   }
   if ($zwc_day_count>1) {
      for ($i=$zwc_day_count;$i<=7;$i++) {
         echo "";
      }
   }
   echo "

   
   
   <
   
".$zwc_monthname." - ".$zwc_year."

   
   
   >
   
".$locale['zwar_cal03'][$i]."
5 ? "-we" : "")."'>
5 ? "-we" : "")."'>
".$zwar_cal_info;
   
   closeside();
   add_to_head("");
}
?>
 
Spring naar forum:
Nieuw onderwerp Antwoorden
Gebruik BBcode of HTML om naar; 'Uitlijning pop up?', te verwijzen!
BBcode:
HTML: