Updated compared to the production version
|
@ -1,209 +1,222 @@
|
|||
<?php
|
||||
$lang['langue'] = 'language';
|
||||
$lang['administrateur'] = 'Administrator';
|
||||
$lang['agent'] = 'agent';
|
||||
$lang['Membre'] = 'Member';
|
||||
$lang['mot de passe oublié'] = 'Forgot your password';
|
||||
$lang['identifiant'] = 'login';
|
||||
$lang['mot de passe'] = 'password';
|
||||
$lang['Choix de la langue'] = 'Choice of language';
|
||||
$lang['Superviseur'] = 'Supervisor';
|
||||
$lang['Superviseurs'] = 'Supervisors';
|
||||
$lang['Tableau de bord'] = 'Dashboard';
|
||||
$lang['Utilisateurs géolocalisés'] = 'Geolocated users';
|
||||
$lang["Plus d'informations"] = "More informations";
|
||||
$lang['Demandes de crédits'] = 'Requests for credits';
|
||||
$lang['Demandes traitées'] = 'Requests processed';
|
||||
$lang['Demandes non traitées'] = 'Unprocessed requests';
|
||||
$lang['demandes'] = 'Requests';
|
||||
$lang['Adhésions'] = 'memberships';
|
||||
$lang['Adhésion'] = 'membership';
|
||||
$lang['Adhésions par mois sur une année'] = 'Memberships per month over a year';
|
||||
$lang['Demande de crédits par utilisateurs'] = 'Credit request by users';
|
||||
$lang['Bienvenue'] = 'welcome';
|
||||
$lang['Déconnexion'] = 'Sign Out';
|
||||
$lang['Carte des'] = 'Map of';
|
||||
$lang['zoom'] ='Zoom into a specific marker to see more details about';
|
||||
$lang['Tous les'] = 'All';
|
||||
$lang['Catégorie'] = 'Category';
|
||||
$lang['Parrain'] = 'Godfather';
|
||||
$lang['Nom'] = 'Name';
|
||||
$lang['Prénom'] = 'First name';
|
||||
$lang['Adresse'] = 'Address';
|
||||
$lang['Reseau'] = 'Network';
|
||||
$lang['Code'] = 'Code';
|
||||
$lang['code membre'] = 'Membership Code';
|
||||
$lang['Email'] = 'E-mail';
|
||||
$lang['Contact'] = 'Contact';
|
||||
$lang['Active'] = 'Activated';
|
||||
$lang['Modifier'] = 'Edit';
|
||||
$lang['Code parrain'] = 'Sponsor Code';
|
||||
$lang['Fermer'] = 'Close';
|
||||
$lang['Restant'] = 'remaining';
|
||||
$lang['Temps moyen de traitement entrant'] = 'Average time of incoming processing';
|
||||
$lang['Aucune demande traitée'] = 'No requests processed';
|
||||
$lang['Aucune demande'] = 'No requests';
|
||||
$lang['Temps moyen de traitement sortant'] = 'Average time outcoming processing';
|
||||
$lang['Demandes'] = 'requests';
|
||||
$lang['entrantes'] = 'incoming';
|
||||
$lang['Téléphone utilisateur'] = 'Telephone user';
|
||||
$lang['Téléphone'] = 'Phone';
|
||||
$lang['Date de la demande'] = 'Resquest date';
|
||||
$lang['Date de traitement'] = 'Processing date';
|
||||
$lang['Statut'] = 'Status';
|
||||
$lang['Délai de traitement'] = 'Processing time';
|
||||
$lang['Emetteur'] = 'Transmitter';
|
||||
$lang['Montant'] = 'Amount';
|
||||
$lang['Sortantes'] = 'outcoming';
|
||||
$lang['traitée'] = 'treated';
|
||||
$lang['Non traitée'] = 'not treated';
|
||||
$lang['les plus rapidement traitées'] = 'processed the fastest';
|
||||
$lang['les plus tardivement traitées'] = 'the most recently processed';
|
||||
$lang['demandes de credit entrantes'] = 'incoming loan requests';
|
||||
$lang['demandes de credit sortantes'] = 'outgoing loan requests';
|
||||
$lang['crédits'] = 'credits';
|
||||
$lang['Mettre à jour des informations'] = 'Update information';
|
||||
$lang['Aucun utilisateur trouvé'] = 'No users found';
|
||||
$lang['Suppression'] = 'Suppression';
|
||||
$lang['Suppression de compte'] = 'Account deletion';
|
||||
$lang['Confirmer'] = 'Ok';
|
||||
$lang['Demandes adhésion'] = "Membership applications";
|
||||
$lang['Sélectionnez la ville'] = 'Select the city';
|
||||
$lang['Continuer'] = 'Ok';
|
||||
$lang['Hyperviseur'] = 'hypervisor';
|
||||
$lang['Demandes de crédits par superviseur'] = 'Credit requests by supervisor';
|
||||
$lang['Utilisateurs géolocalisés par ville'] = 'Geolocated users by city';
|
||||
$lang['utilisateurs géolocalisés à'] = 'Geolocated users to';
|
||||
$lang['Appliquer un filtre'] = 'Apply a filter';
|
||||
$lang['Retourner'] = 'Back';
|
||||
$lang['Gestion des villes et des codes'] = 'Management of cities and codes';
|
||||
$lang['Terminer'] = 'finish';
|
||||
$lang['Utilisateurs simples'] = 'Simples users';
|
||||
$lang['Aucun pays'] = 'No country';
|
||||
$lang['Aucun hyperviseur'] = 'No hypervisor';
|
||||
$lang['Aucune ville'] = 'No city';
|
||||
$lang['Vous allez être déconnecté'] = 'You will be disconnected';
|
||||
$lang['Codes validés'] = 'Validated codes';
|
||||
$lang['Codes générés'] = 'Generated codes';
|
||||
$lang['Souscription des 12 derniers mois'] = 'Subscription of the last 12 months';
|
||||
$lang['Utilisateurs simple par réseaux'] = 'Simple users by networks';
|
||||
$lang['Utilisateurs géolocalisés par réseaux'] = 'Geolocated users by networks';
|
||||
$lang['Pays'] = 'Country';
|
||||
$lang['Solde'] = 'Balance';
|
||||
$lang['Supprimer'] = 'Delete';
|
||||
$lang['Code pays'] = 'Country code';
|
||||
$lang['Confirmer la suppression'] = 'Confirm deletion';
|
||||
$lang['Message suppression'] = "Do you confirm the deletion of the user";
|
||||
$lang["Demandes d'adhésions et codes valides"] = "Membership requests and valid codes";
|
||||
$lang['Codes valides'] = 'Valid codes';
|
||||
$lang['Créer le'] = 'creation date';
|
||||
$lang['Message suppression code'] = 'Are you sure you want to delete the code';
|
||||
$lang['Aucun membre validé'] = 'No validated members';
|
||||
$lang['Villes'] = 'Towns';
|
||||
$lang['Ville'] = 'Town';
|
||||
$lang['Codes hyperviseurs'] = 'Hypervisor codes';
|
||||
$lang['Reseaux'] = 'Networks';
|
||||
$lang['Administrateurs'] = 'Administrators';
|
||||
$lang['Administrateur'] = 'Administrator';
|
||||
$lang['Modification et Activation des villes'] = 'City Management';
|
||||
$lang['Activer/Désactiver'] = 'Enable / Disable';
|
||||
$lang['Activer'] = 'Enable';
|
||||
$lang['Désactiver'] = 'Disable';
|
||||
$lang['Aucune ville'] = 'No city';
|
||||
$lang['Aucun pays'] = 'No country';
|
||||
$lang['Ajouter une ville'] = 'Add a city';
|
||||
$lang['Modifier la ville'] = 'Edit city';
|
||||
$lang['Active'] = 'Active';
|
||||
$lang['Inactive'] = 'Inactive';
|
||||
$lang['Actif'] = 'Active';
|
||||
$lang['Inactif'] = 'Inactive';
|
||||
$lang['Générateur de codes'] = 'Code generator';
|
||||
$lang['Entrez le nombre de codes'] = 'Enter the number of codes to generate';
|
||||
$lang['Tous les codes générés'] = 'All Generated codes';
|
||||
$lang['Code généré'] = 'Generated code';
|
||||
$lang['Attribué'] = 'Attributed';
|
||||
$lang['Non attribué'] = 'Not attributed';
|
||||
$lang['Ajouter'] = 'Add';
|
||||
$lang['Gestion des réseaux'] = 'Network Management';
|
||||
$lang['Réseaux assignés'] = 'Assigned networks';
|
||||
$lang['Aucun réseau'] = 'No network';
|
||||
$lang['Ajouter un réseau à la liste'] = 'Add a network to the list';
|
||||
$lang['Assigner un réseau à un pays'] = 'Assign a network to a country';
|
||||
$lang['Modifier le réseau'] = 'Modify the network';
|
||||
$lang['Gestion des administrateurs'] = 'Administrators management';
|
||||
$lang['Confirmé'] = 'Confirmed';
|
||||
$lang['Non confirmé'] = 'Not confirmed';
|
||||
$lang['Créer un compte administrateur'] = 'Create an administrator account';
|
||||
$lang['Créer le compte'] = 'Create account';
|
||||
$lang["Confirmation de création d'un compte administrateur"] = "Confirmation of creation of an administrator account";
|
||||
$lang["votre compte administrateur a bien été créé. Veuillez suivre ce lien pour configurer votre mot de passe."] = "your administrator account has been created. Please follow this link to configure your password.";
|
||||
$lang["Une erreur s'est produite"] = "An error has occurred";
|
||||
$lang["Le numéro de téléphone entré est déjà utilisé"] = "The phone number entered is already in use";
|
||||
$lang["L'email entré est déjà utilisé"] = "The entered email is already used";
|
||||
$lang['Vous'] = 'You';
|
||||
$lang['assigné'] = 'Assigned';
|
||||
$lang['Non assigné'] = 'Not assigned';
|
||||
$lang['Oui'] = 'Yes';
|
||||
$lang['Non'] = 'No';
|
||||
$lang['Géolocalisation'] = 'Geolocation';
|
||||
$lang['Agent'] = 'Agent';
|
||||
$lang['Voir les détails'] = 'See the details';
|
||||
$lang['Campagne'] = 'Campaign';
|
||||
|
||||
//Traduction tutoriel
|
||||
|
||||
$lang['Tutoriel Backoffice'] = 'Backoffice Tutorial';
|
||||
$lang['Guide utilisateur'] = 'User guide';
|
||||
$lang['Superviseur'] = 'Supervisor';
|
||||
$lang['Connexion'] = 'Log in';
|
||||
$lang['Première interface du backoffice, le Superviseur est appelé à saisir :'] = 'First interface of the back office, the Supervisor is called to enter :';
|
||||
$lang['Son code parrain'] = 'His sponsor code';
|
||||
$lang['Son mot de passe'] = 'His password';
|
||||
$lang['S’assurer que le dernier champ soit à'] = 'Make sure the last field is at';
|
||||
$lang['Au coin supérieur gauche, les différents drapeaux désignent les langues disponibles pour le'] = 'In the upper left corner, the different flags designate the languages available for the';
|
||||
$lang['backoffice. Pour changer de langue, il suffit de cliquer sur le drapeau correspondant (notons que par'] = 'backoffice. To change language, just click on the corresponding flag (note that by';
|
||||
$lang['défaut, le backoffice s’affiche dans la langue utilisée par le navigateur)͘'] = 'default, the backoffice is displayed in the language used by the browser)͘';
|
||||
$lang['Le lien '] = 'The link ';
|
||||
$lang['est uniquement réservé aux administrateurs.'] = 'is only for administrators.';
|
||||
$lang['Après connexion, le Superviseur est redirigé vers son tableau de bord.'] = 'After login, the Supervisor is redirected to his dashboard.';
|
||||
$lang['Le tableau de bord Superviseur présente :'] = 'The Supervisor dashboard shows :';
|
||||
$lang['Le nombre d’utilisateurs géolocalisés'] = 'The number of geolocated users';
|
||||
$lang['Le nombre de demandes de crédits'] = 'The number of requests for credits';
|
||||
$lang['Le nombre de demandes de crédits traitées et celui des demandes non traités.'] = 'The number of requests for credits processed and the number of untreated requests.';
|
||||
$lang['Le diagramme'] = 'The diagram';
|
||||
$lang['montre le nombre d’adhésion (adhésions en orange et demandes'] = 'shows the total number of membership (the orange color for memberships and requests';
|
||||
$lang['de crédits en bleu) des 12 derniers mois.'] = 'for credits in blue) of the last 12 months.';
|
||||
$lang['Adhésion par mois sur une année'] = 'Membership per month over a year';
|
||||
$lang['fait le découpage des adhésions par mois'] = 'cut membership by month';
|
||||
$lang['sur l’année en cours'] = 'on the current year';
|
||||
$lang['Demande de crédits par utilisateurs'] = 'Credit request by users';
|
||||
$lang['montre le nombre de demande de crédit'] = 'shows the total number of credit requests';
|
||||
$lang['par utilisateur simple.'] = 'per user.';
|
||||
$lang['Le menu de gauche se compose de 3 onglets:'] = 'The left menu consists of 3 tabs:';
|
||||
$lang['pour le tableau de bord'] = 'for the dashboard';
|
||||
$lang['pour consulter les informations sur les demandes de crédits.'] = 'for information on credit applications.';
|
||||
$lang['Le Superviseur dispose d’une carte sur laquelle sont marquées les positions de ses points géolocalisés'] = 'The Supervisor has a map on which are marked the positions of his location-based points';
|
||||
$lang['pour la catégorie de l’utilisateur (qui sera toujours '] = "for the user's category (which will always be ";
|
||||
$lang['pour des'] = 'for';
|
||||
$lang['en cliquant sur le parrain une fenêtre d’information présente les informations'] = 'by clicking on the sponsor an information window presents more informations.';
|
||||
$lang['supplémentaires.'] = '';
|
||||
$lang['le nom ou l’enseigne du point géolocalisé͘'] = 'the name or sign of the geolocated point͘';
|
||||
$lang['l’adresse physique du point géolocalisé'] = 'the physical address of the geolocated point';
|
||||
$lang['le réseau courant.'] = 'the current network.';
|
||||
$lang['l’email de la structure'] = 'the email of the structure';
|
||||
$lang['le numéro de téléphone d’appel du point géolocalisé'] = 'the phone number of the geolocated point';
|
||||
$lang['Oui si le compte est activé, Non sinon.'] = 'Yes if the account is activated, No otherwise.';
|
||||
$lang['le code membre point géolocalisé.'] = 'the member code of the geolocated point.';
|
||||
$lang['Le'] = 'The';
|
||||
$lang['temps moyen de traitement'] = 'average treatment time';
|
||||
$lang['des demandes qu’il reçoit'] = 'requests he receives';
|
||||
$lang['des demandes qu’il effectue'] = 'requests he makes';
|
||||
$lang['Deux tableaux listant chacun un type de demande.'] = 'Two tables each listing a type of request.';
|
||||
$lang['Des tableaux montrant les 5 demandes entrantes/sortantes les plus rapidement/tardivement'] = 'Tables showing the 5 incoming / outgoing requests most quickly / late';
|
||||
$lang['traités'] = 'treated';
|
||||
$lang['Pour se déconnecter, le Superviseur clique sur son nom d’utilisateur dans le coin supérieur droit pour'] = 'To disconnect, the Supervisor clicks on his username in the upper right corner for';
|
||||
$lang['faire apparaitre le menu de déconnexion lui présentant : Le réseau courant, son code parrain, son'] = 'to display the disconnection menu presenting: The current network, his sponsor code, his';
|
||||
$lang['adresse email, son pays, son numéro de téléphone et'] = 'email address, country, phone number and';
|
||||
$lang['le bouton de déconnexion'] = 'the disconnect button';
|
||||
$lang['Solde'] = 'Balance';
|
||||
?>
|
||||
<?php
|
||||
$lang['langue'] = 'language';
|
||||
$lang['administrateur'] = 'Administrator';
|
||||
$lang['agent'] = 'agent';
|
||||
$lang['Membre'] = 'Member';
|
||||
$lang['mot de passe oublié'] = 'Forgot your password';
|
||||
$lang['identifiant'] = 'login';
|
||||
$lang['mot de passe'] = 'password';
|
||||
$lang['Choix de la langue'] = 'Choice of language';
|
||||
$lang['Superviseur'] = 'Supervisor';
|
||||
$lang['Superviseurs'] = 'Supervisors';
|
||||
$lang['Tableau de bord'] = 'Dashboard';
|
||||
$lang['Utilisateurs géolocalisés'] = 'Geolocated users';
|
||||
$lang["Plus d'informations"] = "More informations";
|
||||
$lang['Demandes de crédits'] = 'Requests for credits';
|
||||
$lang['Demandes traitées'] = 'Requests processed';
|
||||
$lang['Demandes non traitées'] = 'Unprocessed requests';
|
||||
$lang['demandes'] = 'Requests';
|
||||
$lang['Adhésions'] = 'memberships';
|
||||
$lang['Adhésion'] = 'membership';
|
||||
$lang['Adhésions par mois sur une année'] = 'Memberships per month over a year';
|
||||
$lang['Demande de crédits par utilisateurs'] = 'Credit request by users';
|
||||
$lang['Bienvenue'] = 'welcome';
|
||||
$lang['Déconnexion'] = 'Sign Out';
|
||||
$lang['Carte des'] = 'Map of';
|
||||
$lang['zoom'] ='Zoom into a specific marker to see more details about';
|
||||
$lang['Tous les'] = 'All';
|
||||
$lang['Catégorie'] = 'Category';
|
||||
$lang['Parrain'] = 'Godfather';
|
||||
$lang['Nom'] = 'Name';
|
||||
$lang['Prénom'] = 'First name';
|
||||
$lang['Adresse'] = 'Address';
|
||||
$lang['Reseau'] = 'Network';
|
||||
$lang['Code'] = 'Code';
|
||||
$lang['code membre'] = 'Membership Code';
|
||||
$lang['Email'] = 'E-mail';
|
||||
$lang['Contact'] = 'Contact';
|
||||
$lang['Active'] = 'Activated';
|
||||
$lang['Modifier'] = 'Edit';
|
||||
$lang['Code parrain'] = 'Sponsor Code';
|
||||
$lang['Fermer'] = 'Close';
|
||||
$lang['Restant'] = 'remaining';
|
||||
$lang['Temps moyen de traitement entrant'] = 'Average time of incoming processing';
|
||||
$lang['Aucune demande traitée'] = 'No requests processed';
|
||||
$lang['Aucune demande'] = 'No requests';
|
||||
$lang['Temps moyen de traitement sortant'] = 'Average time outcoming processing';
|
||||
$lang['Demandes'] = 'requests';
|
||||
$lang['entrantes'] = 'incoming';
|
||||
$lang['Téléphone utilisateur'] = 'Telephone user';
|
||||
$lang['Téléphone'] = 'Phone';
|
||||
$lang['Date de la demande'] = 'Resquest date';
|
||||
$lang['Date de traitement'] = 'Processing date';
|
||||
$lang['Statut'] = 'Status';
|
||||
$lang['Délai de traitement'] = 'Processing time';
|
||||
$lang['Emetteur'] = 'Transmitter';
|
||||
$lang['Montant'] = 'Amount';
|
||||
$lang['Sortantes'] = 'outcoming';
|
||||
$lang['traitée'] = 'treated';
|
||||
$lang['Non traitée'] = 'not treated';
|
||||
$lang['les plus rapidement traitées'] = 'processed the fastest';
|
||||
$lang['les plus tardivement traitées'] = 'the most recently processed';
|
||||
$lang['demandes de credit entrantes'] = 'incoming loan requests';
|
||||
$lang['demandes de credit sortantes'] = 'outgoing loan requests';
|
||||
$lang['crédits'] = 'credits';
|
||||
$lang['Mettre à jour des informations'] = 'Update information';
|
||||
$lang['Aucun utilisateur trouvé'] = 'No users found';
|
||||
$lang['Suppression'] = 'Suppression';
|
||||
$lang['Suppression de compte'] = 'Account deletion';
|
||||
$lang['Confirmer'] = 'Ok';
|
||||
$lang['Demandes adhésion'] = "Membership applications";
|
||||
$lang['Sélectionnez la ville'] = 'Select the city';
|
||||
$lang['Continuer'] = 'Ok';
|
||||
$lang['Hyperviseur'] = 'hypervisor';
|
||||
$lang['Demandes de crédits par superviseur'] = 'Credit requests by supervisor';
|
||||
$lang['Utilisateurs géolocalisés par ville'] = 'Geolocated users by city';
|
||||
$lang['utilisateurs géolocalisés à'] = 'Geolocated users to';
|
||||
$lang['Appliquer un filtre'] = 'Apply a filter';
|
||||
$lang['Retourner'] = 'Back';
|
||||
$lang['Gestion des villes et des codes'] = 'Management of cities and codes';
|
||||
$lang['Terminer'] = 'finish';
|
||||
$lang['Utilisateurs simples'] = 'Simples users';
|
||||
$lang['Aucun pays'] = 'No country';
|
||||
$lang['Aucun hyperviseur'] = 'No hypervisor';
|
||||
$lang['Aucune ville'] = 'No city';
|
||||
$lang['Vous allez être déconnecté'] = 'You will be disconnected';
|
||||
$lang['Codes validés'] = 'Validated codes';
|
||||
$lang['Codes générés'] = 'Generated codes';
|
||||
$lang['Souscription des 12 derniers mois'] = 'Subscription of the last 12 months';
|
||||
$lang['Utilisateurs simple par réseaux'] = 'Simple users by networks';
|
||||
$lang['Utilisateurs géolocalisés par réseaux'] = 'Geolocated users by networks';
|
||||
$lang['Pays'] = 'Country';
|
||||
$lang['Solde'] = 'Balance';
|
||||
$lang['Supprimer'] = 'Delete';
|
||||
$lang['Code pays'] = 'Country code';
|
||||
$lang['Confirmer la suppression'] = 'Confirm deletion';
|
||||
$lang['Message suppression'] = "Do you confirm the deletion of the user";
|
||||
$lang["Demandes d'adhésions et codes valides"] = "Membership requests and valid codes";
|
||||
$lang['Codes valides'] = 'Valid codes';
|
||||
$lang['Créer le'] = 'creation date';
|
||||
$lang['Message suppression code'] = 'Are you sure you want to delete the code';
|
||||
$lang['Aucun membre validé'] = 'No validated members';
|
||||
$lang['Villes'] = 'Towns';
|
||||
$lang['Ville'] = 'Town';
|
||||
$lang['Codes hyperviseurs'] = 'Hypervisor codes';
|
||||
$lang['Reseaux'] = 'Networks';
|
||||
$lang['Administrateurs'] = 'Administrators';
|
||||
$lang['Administrateur'] = 'Administrator';
|
||||
$lang['Modification et Activation des villes'] = 'City Management';
|
||||
$lang['Activer/Désactiver'] = 'Enable / Disable';
|
||||
$lang['Activer'] = 'Enable';
|
||||
$lang['Désactiver'] = 'Disable';
|
||||
$lang['Aucune ville'] = 'No city';
|
||||
$lang['Aucun pays'] = 'No country';
|
||||
$lang['Ajouter une ville'] = 'Add a city';
|
||||
$lang['Modifier la ville'] = 'Edit city';
|
||||
$lang['Active'] = 'Active';
|
||||
$lang['Inactive'] = 'Inactive';
|
||||
$lang['Actif'] = 'Active';
|
||||
$lang['Inactif'] = 'Inactive';
|
||||
$lang['Générateur de codes'] = 'Code generator';
|
||||
$lang['Entrez le nombre de codes'] = 'Enter the number of codes to generate';
|
||||
$lang['Tous les codes générés'] = 'All Generated codes';
|
||||
$lang['Code généré'] = 'Generated code';
|
||||
$lang['Attribué'] = 'Attributed';
|
||||
$lang['Non attribué'] = 'Not attributed';
|
||||
$lang['Ajouter'] = 'Add';
|
||||
$lang['Gestion des réseaux'] = 'Network Management';
|
||||
$lang['Réseaux assignés'] = 'Assigned networks';
|
||||
$lang['Aucun réseau'] = 'No network';
|
||||
$lang['Ajouter un réseau à la liste'] = 'Add a network to the list';
|
||||
$lang['Assigner un réseau à un pays'] = 'Assign a network to a country';
|
||||
$lang['Modifier le réseau'] = 'Modify the network';
|
||||
$lang['Gestion des administrateurs'] = 'Administrators management';
|
||||
$lang['Confirmé'] = 'Confirmed';
|
||||
$lang['Non confirmé'] = 'Not confirmed';
|
||||
$lang['Créer un compte administrateur'] = 'Create an administrator account';
|
||||
$lang['Créer le compte'] = 'Create account';
|
||||
$lang["Confirmation de création d'un compte administrateur"] = "Confirmation of creation of an administrator account";
|
||||
$lang["votre compte administrateur a bien été créé. Veuillez suivre ce lien pour configurer votre mot de passe."] = "your administrator account has been created. Please follow this link to configure your password.";
|
||||
$lang["Une erreur s'est produite"] = "An error has occurred";
|
||||
$lang["Le numéro de téléphone entré est déjà utilisé"] = "The phone number entered is already in use";
|
||||
$lang["L'email entré est déjà utilisé"] = "The entered email is already used";
|
||||
$lang['Vous'] = 'You';
|
||||
$lang['assigné'] = 'Assigned';
|
||||
$lang['Non assigné'] = 'Not assigned';
|
||||
$lang['Oui'] = 'Yes';
|
||||
$lang['Non'] = 'No';
|
||||
$lang['Géolocalisation'] = 'Geolocation';
|
||||
$lang['Agent'] = 'Agent';
|
||||
$lang['Voir les détails'] = 'See the details';
|
||||
$lang['Campagne'] = 'Campaign';
|
||||
|
||||
//Traduction tutoriel
|
||||
|
||||
$lang['Tutoriel Backoffice'] = 'Backoffice Tutorial';
|
||||
$lang['Guide utilisateur'] = 'User guide';
|
||||
$lang['Superviseur'] = 'Supervisor';
|
||||
$lang['Connexion'] = 'Log in';
|
||||
$lang['Première interface du backoffice, le Superviseur est appelé à saisir :'] = 'First interface of the back office, the Supervisor is called to enter :';
|
||||
$lang['Son code parrain'] = 'His sponsor code';
|
||||
$lang['Son mot de passe'] = 'His password';
|
||||
$lang['S’assurer que le dernier champ soit à'] = 'Make sure the last field is at';
|
||||
$lang['Au coin supérieur gauche, les différents drapeaux désignent les langues disponibles pour le'] = 'In the upper left corner, the different flags designate the languages available for the';
|
||||
$lang['backoffice. Pour changer de langue, il suffit de cliquer sur le drapeau correspondant (notons que par'] = 'backoffice. To change language, just click on the corresponding flag (note that by';
|
||||
$lang['défaut, le backoffice s’affiche dans la langue utilisée par le navigateur)͘'] = 'default, the backoffice is displayed in the language used by the browser)͘';
|
||||
$lang['Le lien '] = 'The link ';
|
||||
$lang['est uniquement réservé aux administrateurs.'] = 'is only for administrators.';
|
||||
$lang['Après connexion, le Superviseur est redirigé vers son tableau de bord.'] = 'After login, the Supervisor is redirected to his dashboard.';
|
||||
$lang['Le tableau de bord Superviseur présente :'] = 'The Supervisor dashboard shows :';
|
||||
$lang['Le nombre d’utilisateurs géolocalisés'] = 'The number of geolocated users';
|
||||
$lang['Le nombre de demandes de crédits'] = 'The number of requests for credits';
|
||||
$lang['Le nombre de demandes de crédits traitées et celui des demandes non traités.'] = 'The number of requests for credits processed and the number of untreated requests.';
|
||||
$lang['Le diagramme'] = 'The diagram';
|
||||
$lang['montre le nombre d’adhésion (adhésions en orange et demandes'] = 'shows the total number of membership (the orange color for memberships and requests';
|
||||
$lang['de crédits en bleu) des 12 derniers mois.'] = 'for credits in blue) of the last 12 months.';
|
||||
$lang['Adhésion par mois sur une année'] = 'Membership per month over a year';
|
||||
$lang['fait le découpage des adhésions par mois'] = 'cut membership by month';
|
||||
$lang['sur l’année en cours'] = 'on the current year';
|
||||
$lang['Demande de crédits par utilisateurs'] = 'Credit request by users';
|
||||
$lang['montre le nombre de demande de crédit'] = 'shows the total number of credit requests';
|
||||
$lang['par utilisateur simple.'] = 'per user.';
|
||||
$lang['Le menu de gauche se compose de 3 onglets:'] = 'The left menu consists of 3 tabs:';
|
||||
$lang['pour le tableau de bord'] = 'for the dashboard';
|
||||
$lang['pour consulter les informations sur les demandes de crédits.'] = 'for information on credit applications.';
|
||||
$lang['Le Superviseur dispose d’une carte sur laquelle sont marquées les positions de ses points géolocalisés'] = 'The Supervisor has a map on which are marked the positions of his location-based points';
|
||||
$lang['pour la catégorie de l’utilisateur (qui sera toujours '] = "for the user's category (which will always be ";
|
||||
$lang['pour des'] = 'for';
|
||||
$lang['en cliquant sur le parrain une fenêtre d’information présente les informations'] = 'by clicking on the sponsor an information window presents more informations.';
|
||||
$lang['supplémentaires.'] = '';
|
||||
$lang['le nom ou l’enseigne du point géolocalisé͘'] = 'the name or sign of the geolocated point͘';
|
||||
$lang['l’adresse physique du point géolocalisé'] = 'the physical address of the geolocated point';
|
||||
$lang['le réseau courant.'] = 'the current network.';
|
||||
$lang['l’email de la structure'] = 'the email of the structure';
|
||||
$lang['le numéro de téléphone d’appel du point géolocalisé'] = 'the phone number of the geolocated point';
|
||||
$lang['Oui si le compte est activé, Non sinon.'] = 'Yes if the account is activated, No otherwise.';
|
||||
$lang['le code membre point géolocalisé.'] = 'the member code of the geolocated point.';
|
||||
$lang['Le'] = 'The';
|
||||
$lang['temps moyen de traitement'] = 'average treatment time';
|
||||
$lang['des demandes qu’il reçoit'] = 'requests he receives';
|
||||
$lang['des demandes qu’il effectue'] = 'requests he makes';
|
||||
$lang['Deux tableaux listant chacun un type de demande.'] = 'Two tables each listing a type of request.';
|
||||
$lang['Des tableaux montrant les 5 demandes entrantes/sortantes les plus rapidement/tardivement'] = 'Tables showing the 5 incoming / outgoing requests most quickly / late';
|
||||
$lang['traités'] = 'treated';
|
||||
$lang['Pour se déconnecter, le Superviseur clique sur son nom d’utilisateur dans le coin supérieur droit pour'] = 'To disconnect, the Supervisor clicks on his username in the upper right corner for';
|
||||
$lang['faire apparaitre le menu de déconnexion lui présentant : Le réseau courant, son code parrain, son'] = 'to display the disconnection menu presenting: The current network, his sponsor code, his';
|
||||
$lang['adresse email, son pays, son numéro de téléphone et'] = 'email address, country, phone number and';
|
||||
$lang['le bouton de déconnexion'] = 'the disconnect button';
|
||||
$lang['Rechercher'] = 'Search';
|
||||
$lang['Rechercher un utilisateur'] = 'Search a user';
|
||||
$lang['utilisateur trouvé'] = 'user found';
|
||||
$lang['Aucun utilisateur trouvé'] = 'No users found';
|
||||
$lang['Voir plus...'] = 'See more...';
|
||||
$lang['Informations de l utilisateur'] = "User information";
|
||||
$lang['Valider'] = 'Validate';
|
||||
$lang['Numéro de transaction'] = 'Transaction number';
|
||||
$lang['Catégorie'] = 'Category';
|
||||
$lang['Date inscription'] = "Registration date";
|
||||
$lang['Utilisateur simple'] = 'Simple user';
|
||||
$lang['Statut du compte'] = 'Account status';
|
||||
$lang['Publicité'] = 'Publicity';
|
||||
$lang['Gestion de la publicité'] = 'Advertising Management';
|
||||
?>
|
||||
|
|
|
@ -1,225 +1,238 @@
|
|||
<?php
|
||||
$lang['langue'] = 'langue';
|
||||
$lang['administrateur'] = 'administrateur';
|
||||
$lang['agent'] = 'agent';
|
||||
$lang['Membre'] = 'Membre';
|
||||
$lang['mot de passe oublié'] = 'Mot de passe oublié';
|
||||
$lang['identifiant'] = 'identifiant';
|
||||
$lang['mot de passe'] = 'mot de passe';
|
||||
$lang['Choix de la langue'] = 'Choix de la langue';
|
||||
$lang['Superviseur'] = 'Superviseur';
|
||||
$lang['Superviseurs'] = 'Superviseurs';
|
||||
$lang['Tableau de bord'] = 'Tableau de bord';
|
||||
$lang['Utilisateurs géolocalisés'] = 'Utilisateurs géolocalisés';
|
||||
$lang["Plus d'informations"] = "Plus d'informations";
|
||||
$lang['Demandes de crédits'] = 'Demandes de crédits';
|
||||
$lang['traitée'] = 'traitée';
|
||||
$lang['Non traitée'] = 'non traitée';
|
||||
$lang['Demandes traitées'] = 'Demandes traitées';
|
||||
$lang['Demandes non traitées'] = 'Demandes non traitées';
|
||||
$lang['demandes'] = 'Demandes';
|
||||
$lang['Adhésions'] = 'Adhésions';
|
||||
$lang['Adhésion'] = 'Adhésion';
|
||||
$lang['Adhésions par mois sur une année'] = 'Adhésions par mois sur une année';
|
||||
$lang['Demande de crédits par utilisateurs'] = 'Demande de crédits par utilisateurs';
|
||||
$lang['Bienvenue'] = 'Bienvenue';
|
||||
$lang['Déconnexion'] = 'Déconnexion';
|
||||
$lang['Carte des'] = 'Carte des';
|
||||
$lang['zoom'] ='Zoomez sur un marker spécifique pour voir plus de détails';
|
||||
$lang['Tous les'] = 'Tous les';
|
||||
$lang['Catégorie'] = 'Catégorie';
|
||||
$lang['Parrain'] = 'Parrain';
|
||||
$lang['Nom'] = 'Nom';
|
||||
$lang['Prénom'] = 'Prénom';
|
||||
$lang['Adresse'] = 'Adresse';
|
||||
$lang['Reseau'] = 'Réseau';
|
||||
$lang['Code'] = 'Code';
|
||||
$lang['code membre'] = 'Code membre';
|
||||
$lang['Email'] = 'Email';
|
||||
$lang['Contact'] = 'Contact';
|
||||
$lang['Telephone'] = 'Téléphone';
|
||||
$lang['Active'] = 'Activé';
|
||||
$lang['Modifier'] = 'Modifier';
|
||||
$lang['Code parrain'] = 'Code parrain';
|
||||
$lang['Fermer'] = 'Fermer';
|
||||
$lang['Restant'] = 'restant(s)';
|
||||
$lang['Temps moyen de traitement entrant'] = 'Temps moyen de traitement entrant';
|
||||
$lang['Aucune demande traitée'] = 'Aucune demande traitée';
|
||||
$lang['Aucune demande'] = 'Aucune demande';
|
||||
$lang['Temps moyen de traitement sortant'] = 'Temps moyen de traitement sortant';
|
||||
$lang['Demandes'] = 'demandes';
|
||||
$lang['entrantes'] = 'entrantes';
|
||||
$lang['Téléphone utilisateur'] = 'Téléphone utilisateur';
|
||||
$lang['Téléphone'] = 'Téléphone';
|
||||
$lang['Date de la demande'] = 'Date de la demande';
|
||||
$lang['Date de traitement'] = 'Date de traitement';
|
||||
$lang['Statut'] = 'Statut';
|
||||
$lang['Délai de traitement'] = 'Délai de traitement';
|
||||
$lang['Emetteur'] = 'Emetteur';
|
||||
$lang['Montant'] = 'Montant';
|
||||
$lang['Sortantes'] = 'sortantes';
|
||||
$lang['les plus rapidement traitées'] = 'les plus rapidement traitées';
|
||||
$lang['les plus tardivement traitées'] = 'les plus tardivement traitées';
|
||||
$lang['demandes de credit entrantes'] = 'demandes de crédit entrantes';
|
||||
$lang['demandes de credit sortantes'] = 'demandes de crédit sortantes';
|
||||
$lang['Aucune adhesion'] = 'Aucune adhésion';
|
||||
$lang['crédits'] = 'crédits';
|
||||
$lang['Mettre à jour des informations'] = 'Mettre à jour des informations';
|
||||
$lang['Aucun utilisateur trouvé'] = 'Aucun utilisateur trouvé';
|
||||
$lang['Suppression'] = 'Suppression';
|
||||
$lang['Suppression de compte'] = 'Suppression de compte';
|
||||
$lang['Confirmer'] = 'Confirmer';
|
||||
$lang['Demandes adhésion'] = "Demandes d'adhésion";
|
||||
$lang['Sélectionnez la ville'] = 'Sélectionnez la ville';
|
||||
$lang['Continuer'] = 'Continuer';
|
||||
$lang['Hyperviseur'] = 'Hyperviseur';
|
||||
$lang['Demandes de crédits par superviseur'] = 'Demandes de crédits par superviseur';
|
||||
$lang['Utilisateurs géolocalisés par ville'] = 'Utilisateurs géolocalisés par ville';
|
||||
$lang['utilisateurs géolocalisés à'] = 'utilisateurs géolocalisés à';
|
||||
$lang['Appliquer un filtre'] = 'Appliquer un filtre';
|
||||
$lang['Retourner'] = 'Retourner';
|
||||
$lang['Gestion des villes et des codes'] = 'Gestion des villes et des codes';
|
||||
$lang['Terminer'] = 'Terminer';
|
||||
$lang['Utilisateurs simples'] = 'Utilisateurs simples';
|
||||
$lang['Aucun pays'] = 'Aucun pays';
|
||||
$lang['Aucun hyperviseur'] = 'Aucun hyperviseur';
|
||||
$lang['Aucune ville'] = 'Aucune ville';
|
||||
$lang['Vous allez être déconnecté'] = 'Vous allez être déconnecté';
|
||||
$lang['Codes validés'] = 'Codes validés';
|
||||
$lang['Codes générés'] = 'Codes générés';
|
||||
$lang['Souscription des 12 derniers mois'] = 'Souscription des 12 derniers mois';
|
||||
$lang['Utilisateurs simple par réseaux'] = 'Utilisateurs simple par réseaux';
|
||||
$lang['Utilisateurs géolocalisés par réseaux'] = 'Utilisateurs géolocalisés par réseaux';
|
||||
$lang['Pays'] = 'Pays';
|
||||
$lang['Solde'] = 'Solde';
|
||||
$lang['Supprimer'] = 'Supprimer';
|
||||
$lang['Code pays'] = 'Code pays';
|
||||
$lang['Confirmer la suppression'] = 'Confirmer la suppression';
|
||||
$lang['Message suppression'] = "Voulez-vous vraiment supprimer l'utilisateur";
|
||||
$lang['Message suppression code'] = 'Voulez-vous vraiment supprimer le code';
|
||||
$lang["Demandes d'adhésions et codes valides"] = "Demandes d'adhésions et codes valides";
|
||||
$lang['Codes valides'] = 'Codes valides';
|
||||
$lang['Créer le'] = 'Créer le';
|
||||
$lang['Aucun membre validé'] = 'Aucun membre validé';
|
||||
$lang['Villes'] = 'Villes';
|
||||
$lang['Ville'] = 'Ville';
|
||||
$lang['Codes hyperviseurs'] = 'Codes hyperviseurs';
|
||||
$lang['Reseaux'] = 'Réseaux';
|
||||
$lang['Administrateurs'] = 'Administrateurs';
|
||||
$lang['Administrateur'] = 'Administrateur';
|
||||
$lang['Modification et Activation des villes'] = 'Modification et Activation des villes';
|
||||
$lang['Activer/Désactiver'] = 'Activer / Désactiver';
|
||||
$lang['Activer'] = 'Activer';
|
||||
$lang['Désactiver'] = 'Désactiver';
|
||||
$lang['Aucune ville'] = 'Aucune ville';
|
||||
$lang['Aucun pays'] = 'Aucun pays';
|
||||
$lang['Ajouter une ville'] = 'Ajouter une ville';
|
||||
$lang['Modifier la ville'] = 'Modifier la ville';
|
||||
$lang['Active'] = 'Active';
|
||||
$lang['Inactive'] = 'Inactive';
|
||||
$lang['Actif'] = 'Actif';
|
||||
$lang['Inactif'] = 'Inactif';
|
||||
$lang['Attribué'] = 'Attribué';
|
||||
$lang['Non attribué'] = 'Non Attribué';
|
||||
$lang['Ajouter'] = 'Ajouter';
|
||||
$lang['Gestion des réseaux'] = 'Gestion des réseaux';
|
||||
$lang['Réseaux assignés'] = 'Réseaux assignés';
|
||||
$lang['Aucun réseau'] = 'Aucun réseau';
|
||||
$lang['Ajouter un réseau à la liste'] = 'Ajouter un réseau à la liste';
|
||||
$lang['Assigner un réseau à un pays'] = 'Assigner un réseau à un pays';
|
||||
$lang['Modifier le réseau'] = 'Modifier le réseau';
|
||||
$lang['Gestion des administrateurs'] = 'Gestion des administrateurs';
|
||||
$lang['Non confirmé'] = 'Non confirmé';
|
||||
$lang['Confirmé'] = 'Confirmé';
|
||||
$lang['Créer un compte administrateur'] = 'Créer un compte administrateur';
|
||||
$lang['Créer le compte'] = 'Créer le compte';
|
||||
$lang["Confirmation de création d'un compte administrateur"] = "Confirmation de création d'un compte administrateur";
|
||||
$lang['votre compte administrateur a bien été créé. Veuillez suivre ce lien pour configurer votre mot de passe.'] = "votre compte administrateur a bien été créé. Veuillez suivre ce lien pour configurer votre mot de passe.";
|
||||
$lang["Une erreur s'est produite"] = "Une erreur s'est produite";
|
||||
$lang["Le numéro de téléphone entré est déjà utilisé"] = "Le numéro de téléphone entré est déjà utilisé";
|
||||
$lang["L'email entré est déjà utilisé"] = "L'email entré est déjà utilisé";
|
||||
$lang['Vous'] = 'Vous';
|
||||
$lang['assigné'] = 'Assigné';
|
||||
$lang['Non assigné'] = 'Non assigné';
|
||||
$lang['Oui'] = 'Oui';
|
||||
$lang['Non'] = 'Non';
|
||||
$lang['Géolocalisation'] = 'Géolocalisation';
|
||||
$lang['Agent'] = 'Agent';
|
||||
$lang['Voir les détails'] = 'Voir les détails';
|
||||
$lang['Campagne'] = 'Campagne';
|
||||
|
||||
//Traduction tutoriel
|
||||
|
||||
$lang['Tutoriel Backoffice'] = 'Tutoriel Backoffice';
|
||||
$lang['Guide utilisateur'] = 'Guide utilisateur';
|
||||
$lang['Superviseur'] = 'Superviseur';
|
||||
$lang['Connexion'] = 'Connexion';
|
||||
$lang['Première interface du backoffice, le Superviseur est appelé à saisir :'] = 'Première interface du backoffice, le Superviseur est appelé à saisir :';
|
||||
$lang['Son code parrain'] = 'Son code parrain';
|
||||
$lang['Son mot de passe'] = 'Son mot de passe';
|
||||
$lang['S’assurer que le dernier champ soit à'] = 'S’assurer que le dernier champ soit à';
|
||||
$lang['Au coin supérieur gauche, les différents drapeaux désignent les langues disponibles pour le'] = 'Au coin supérieur gauche, les différents drapeaux désignent les langues disponibles pour le';
|
||||
$lang['backoffice. Pour changer de langue, il suffit de cliquer sur le drapeau correspondant (notons que par'] = 'backoffice. Pour changer de langue, il suffit de cliquer sur le drapeau correspondant (notons que par';
|
||||
$lang['défaut, le backoffice s’affiche dans la langue utilisée par le navigateur)͘'] = 'défaut, le backoffice s’affiche dans la langue utilisée par le navigateur)͘';
|
||||
$lang['Le lien '] = 'Le lien ';
|
||||
$lang['est uniquement réservé aux administrateurs.'] = 'est uniquement réservé aux administrateurs.';
|
||||
$lang['Après connexion, le Superviseur est redirigé vers son tableau de bord.'] = 'Après connexion, le Superviseur est redirigé vers son tableau de bord.';
|
||||
$lang['Le tableau de bord Superviseur présente :'] = 'Le tableau de bord Superviseur présente :';
|
||||
$lang['Le nombre d’utilisateurs géolocalisés'] = 'Le nombre d’utilisateurs géolocalisés';
|
||||
$lang['Le nombre de demandes de crédits'] = 'Le nombre de demandes de crédits';
|
||||
$lang['Le nombre de demandes de crédits traitées et celui des demandes non traités.'] = 'Le nombre de demandes de crédits traitées et celui des demandes non traités.';
|
||||
$lang['Le diagramme'] = 'Le diagramme';
|
||||
$lang['montre le nombre d’adhésion (adhésions en orange et demandes'] = 'montre le nombre d’adhésion (adhésions en orange et demandes';
|
||||
$lang['de crédits en bleu) des 12 derniers mois.'] = 'de crédits en bleu) des 12 derniers mois.';
|
||||
$lang['Adhésion par mois sur une année'] = 'Adhésion par mois sur une année';
|
||||
$lang['fait le découpage des adhésions par mois'] = 'fait le découpage des adhésions par mois';
|
||||
$lang['sur l’année en cours'] = 'sur l’année en cours';
|
||||
$lang['Demande de crédits par utilisateurs'] = 'Demande de crédits par utilisateurs';
|
||||
$lang['montre le nombre de demande de crédit'] = 'montre le nombre de demande de crédit';
|
||||
$lang['par utilisateur simple.'] = 'par utilisateur simple.';
|
||||
$lang['Le menu de gauche se compose de 3 onglets:'] = 'Le menu de gauche se compose de 3 onglets:';
|
||||
$lang['pour le tableau de bord'] = 'pour le tableau de bord';
|
||||
$lang['pour consulter les informations sur les demandes de crédits.'] = 'pour consulter les informations sur les demandes de crédits.';
|
||||
$lang['pour consulter les informations sur les demandes de crédits.'] = 'pour consulter les informations sur les demandes de crédits.';
|
||||
$lang['Le Superviseur dispose d’une carte sur laquelle sont marquées les positions de ses points géolocalisés'] = 'Le Superviseur dispose d’une carte sur laquelle sont marquées les positions de ses points géolocalisés';
|
||||
$lang['pour la catégorie de l’utilisateur (qui sera toujours '] = 'pour la catégorie de l’utilisateur (qui sera toujours ';
|
||||
$lang['pour des'] = 'pour des';
|
||||
$lang['en cliquant sur le parrain une fenêtre d’information présente les informations'] = 'en cliquant sur le parrain une fenêtre d’information présente les informations';
|
||||
$lang['supplémentaires.'] = 'supplémentaires.';
|
||||
$lang['le nom ou l’enseigne du point géolocalisé͘'] = 'le nom ou l’enseigne du point géolocalisé͘';
|
||||
$lang['l’adresse physique du point géolocalisé'] = 'l’adresse physique du point géolocalisé';
|
||||
$lang['le réseau courant.'] = 'le réseau courant.';
|
||||
$lang['l’email de la structure'] = 'l’email de la structure';
|
||||
$lang['le numéro de téléphone d’appel du point géolocalisé'] = 'le numéro de téléphone d’appel du point géolocalisé';
|
||||
$lang['Oui si le compte est activé, Non sinon.'] = 'Oui si le compte est activé, Non sinon.';
|
||||
$lang['le code membre point géolocalisé.'] = 'le code membre point géolocalisé.';
|
||||
$lang['Le'] = 'Le';
|
||||
$lang['temps moyen de traitement'] = 'temps moyen de traitement';
|
||||
$lang['des demandes qu’il reçoit'] = 'des demandes qu’il reçoit';
|
||||
$lang['des demandes qu’il effectue'] = 'des demandes qu’il effectue';
|
||||
$lang['Deux tableaux listant chacun un type de demande.'] = 'Deux tableaux listant chacun un type de demande.';
|
||||
$lang['Des tableaux montrant les 5 demandes entrantes/sortantes les plus rapidement/tardivement'] = 'Des tableaux montrant les 5 demandes entrantes/sortantes les plus rapidement/tardivement';
|
||||
$lang['traités'] = 'traités';
|
||||
$lang['Pour se déconnecter, le Superviseur clique sur son nom d’utilisateur dans le coin supérieur droit pour'] = 'Pour se déconnecter, le Superviseur clique sur son nom d’utilisateur dans le coin supérieur droit pour';
|
||||
$lang['faire apparaitre le menu de déconnexion lui présentant : Le réseau courant, son code parrain, son'] = 'faire apparaitre le menu de déconnexion lui présentant : Le réseau courant, son code parrain, son';
|
||||
$lang['adresse email, son pays, son numéro de téléphone et'] = 'adresse email, son pays, son numéro de téléphone et';
|
||||
$lang['le bouton de déconnexion'] = 'le bouton de déconnexion';
|
||||
$lang['Solde'] = 'Solde';
|
||||
|
||||
//GAME
|
||||
$lang['Game'] = 'Jeux';
|
||||
$lang['Utilisateurs'] = 'Utilisateurs';
|
||||
$lang[''] = '';
|
||||
$lang[''] = '';
|
||||
$lang[''] = '';
|
||||
$lang[''] = '';
|
||||
$lang[''] = '';
|
||||
$lang[''] = '';
|
||||
$lang[''] = '';
|
||||
$lang[''] = '';
|
||||
$lang[''] = '';
|
||||
$lang[''] = '';
|
||||
$lang[''] = '';
|
||||
$lang[''] = '';
|
||||
$lang[''] = '';
|
||||
?>
|
||||
<?php
|
||||
$lang['langue'] = 'langue';
|
||||
$lang['administrateur'] = 'administrateur';
|
||||
$lang['agent'] = 'agent';
|
||||
$lang['Membre'] = 'Membre';
|
||||
$lang['mot de passe oublié'] = 'Mot de passe oublié';
|
||||
$lang['identifiant'] = 'identifiant';
|
||||
$lang['mot de passe'] = 'mot de passe';
|
||||
$lang['Choix de la langue'] = 'Choix de la langue';
|
||||
$lang['Superviseur'] = 'Superviseur';
|
||||
$lang['Superviseurs'] = 'Superviseurs';
|
||||
$lang['Tableau de bord'] = 'Tableau de bord';
|
||||
$lang['Utilisateurs géolocalisés'] = 'Utilisateurs géolocalisés';
|
||||
$lang["Plus d'informations"] = "Plus d'informations";
|
||||
$lang['Demandes de crédits'] = 'Demandes de crédits';
|
||||
$lang['traitée'] = 'traitée';
|
||||
$lang['Non traitée'] = 'non traitée';
|
||||
$lang['Demandes traitées'] = 'Demandes traitées';
|
||||
$lang['Demandes non traitées'] = 'Demandes non traitées';
|
||||
$lang['demandes'] = 'Demandes';
|
||||
$lang['Adhésions'] = 'Adhésions';
|
||||
$lang['Adhésion'] = 'Adhésion';
|
||||
$lang['Adhésions par mois sur une année'] = 'Adhésions par mois sur une année';
|
||||
$lang['Demande de crédits par utilisateurs'] = 'Demande de crédits par utilisateurs';
|
||||
$lang['Bienvenue'] = 'Bienvenue';
|
||||
$lang['Déconnexion'] = 'Déconnexion';
|
||||
$lang['Carte des'] = 'Carte des';
|
||||
$lang['zoom'] ='Zoomez sur un marker spécifique pour voir plus de détails';
|
||||
$lang['Tous les'] = 'Tous les';
|
||||
$lang['Catégorie'] = 'Catégorie';
|
||||
$lang['Parrain'] = 'Parrain';
|
||||
$lang['Nom'] = 'Nom';
|
||||
$lang['Prénom'] = 'Prénom';
|
||||
$lang['Adresse'] = 'Adresse';
|
||||
$lang['Reseau'] = 'Réseau';
|
||||
$lang['Code'] = 'Code';
|
||||
$lang['code membre'] = 'Code membre';
|
||||
$lang['Email'] = 'Email';
|
||||
$lang['Contact'] = 'Contact';
|
||||
$lang['Telephone'] = 'Téléphone';
|
||||
$lang['Active'] = 'Activé';
|
||||
$lang['Modifier'] = 'Modifier';
|
||||
$lang['Code parrain'] = 'Code parrain';
|
||||
$lang['Fermer'] = 'Fermer';
|
||||
$lang['Restant'] = 'restant(s)';
|
||||
$lang['Temps moyen de traitement entrant'] = 'Temps moyen de traitement entrant';
|
||||
$lang['Aucune demande traitée'] = 'Aucune demande traitée';
|
||||
$lang['Aucune demande'] = 'Aucune demande';
|
||||
$lang['Temps moyen de traitement sortant'] = 'Temps moyen de traitement sortant';
|
||||
$lang['Demandes'] = 'demandes';
|
||||
$lang['entrantes'] = 'entrantes';
|
||||
$lang['Téléphone utilisateur'] = 'Téléphone utilisateur';
|
||||
$lang['Téléphone'] = 'Téléphone';
|
||||
$lang['Date de la demande'] = 'Date de la demande';
|
||||
$lang['Date de traitement'] = 'Date de traitement';
|
||||
$lang['Statut'] = 'Statut';
|
||||
$lang['Délai de traitement'] = 'Délai de traitement';
|
||||
$lang['Emetteur'] = 'Emetteur';
|
||||
$lang['Montant'] = 'Montant';
|
||||
$lang['Sortantes'] = 'sortantes';
|
||||
$lang['les plus rapidement traitées'] = 'les plus rapidement traitées';
|
||||
$lang['les plus tardivement traitées'] = 'les plus tardivement traitées';
|
||||
$lang['demandes de credit entrantes'] = 'demandes de crédit entrantes';
|
||||
$lang['demandes de credit sortantes'] = 'demandes de crédit sortantes';
|
||||
$lang['Aucune adhesion'] = 'Aucune adhésion';
|
||||
$lang['crédits'] = 'crédits';
|
||||
$lang['Mettre à jour des informations'] = 'Mettre à jour des informations';
|
||||
$lang['Aucun utilisateur trouvé'] = 'Aucun utilisateur trouvé';
|
||||
$lang['Suppression'] = 'Suppression';
|
||||
$lang['Suppression de compte'] = 'Suppression de compte';
|
||||
$lang['Confirmer'] = 'Confirmer';
|
||||
$lang['Demandes adhésion'] = "Demandes d'adhésion";
|
||||
$lang['Sélectionnez la ville'] = 'Sélectionnez la ville';
|
||||
$lang['Continuer'] = 'Continuer';
|
||||
$lang['Hyperviseur'] = 'Hyperviseur';
|
||||
$lang['Demandes de crédits par superviseur'] = 'Demandes de crédits par superviseur';
|
||||
$lang['Utilisateurs géolocalisés par ville'] = 'Utilisateurs géolocalisés par ville';
|
||||
$lang['utilisateurs géolocalisés à'] = 'utilisateurs géolocalisés à';
|
||||
$lang['Appliquer un filtre'] = 'Appliquer un filtre';
|
||||
$lang['Retourner'] = 'Retourner';
|
||||
$lang['Gestion des villes et des codes'] = 'Gestion des villes et des codes';
|
||||
$lang['Terminer'] = 'Terminer';
|
||||
$lang['Utilisateurs simples'] = 'Utilisateurs simples';
|
||||
$lang['Aucun pays'] = 'Aucun pays';
|
||||
$lang['Aucun hyperviseur'] = 'Aucun hyperviseur';
|
||||
$lang['Aucune ville'] = 'Aucune ville';
|
||||
$lang['Vous allez être déconnecté'] = 'Vous allez être déconnecté';
|
||||
$lang['Codes validés'] = 'Codes validés';
|
||||
$lang['Codes générés'] = 'Codes générés';
|
||||
$lang['Souscription des 12 derniers mois'] = 'Souscription des 12 derniers mois';
|
||||
$lang['Utilisateurs simple par réseaux'] = 'Utilisateurs simple par réseaux';
|
||||
$lang['Utilisateurs géolocalisés par réseaux'] = 'Utilisateurs géolocalisés par réseaux';
|
||||
$lang['Pays'] = 'Pays';
|
||||
$lang['Solde'] = 'Solde';
|
||||
$lang['Supprimer'] = 'Supprimer';
|
||||
$lang['Code pays'] = 'Code pays';
|
||||
$lang['Confirmer la suppression'] = 'Confirmer la suppression';
|
||||
$lang['Message suppression'] = "Voulez-vous vraiment supprimer l'utilisateur";
|
||||
$lang['Message suppression code'] = 'Voulez-vous vraiment supprimer le code';
|
||||
$lang["Demandes d'adhésions et codes valides"] = "Demandes d'adhésions et codes valides";
|
||||
$lang['Codes valides'] = 'Codes valides';
|
||||
$lang['Créer le'] = 'Créer le';
|
||||
$lang['Aucun membre validé'] = 'Aucun membre validé';
|
||||
$lang['Villes'] = 'Villes';
|
||||
$lang['Ville'] = 'Ville';
|
||||
$lang['Codes hyperviseurs'] = 'Codes hyperviseurs';
|
||||
$lang['Reseaux'] = 'Réseaux';
|
||||
$lang['Administrateurs'] = 'Administrateurs';
|
||||
$lang['Administrateur'] = 'Administrateur';
|
||||
$lang['Modification et Activation des villes'] = 'Modification et Activation des villes';
|
||||
$lang['Activer/Désactiver'] = 'Activer / Désactiver';
|
||||
$lang['Activer'] = 'Activer';
|
||||
$lang['Désactiver'] = 'Désactiver';
|
||||
$lang['Aucune ville'] = 'Aucune ville';
|
||||
$lang['Aucun pays'] = 'Aucun pays';
|
||||
$lang['Ajouter une ville'] = 'Ajouter une ville';
|
||||
$lang['Modifier la ville'] = 'Modifier la ville';
|
||||
$lang['Active'] = 'Active';
|
||||
$lang['Inactive'] = 'Inactive';
|
||||
$lang['Actif'] = 'Actif';
|
||||
$lang['Inactif'] = 'Inactif';
|
||||
$lang['Attribué'] = 'Attribué';
|
||||
$lang['Non attribué'] = 'Non Attribué';
|
||||
$lang['Ajouter'] = 'Ajouter';
|
||||
$lang['Gestion des réseaux'] = 'Gestion des réseaux';
|
||||
$lang['Réseaux assignés'] = 'Réseaux assignés';
|
||||
$lang['Aucun réseau'] = 'Aucun réseau';
|
||||
$lang['Ajouter un réseau à la liste'] = 'Ajouter un réseau à la liste';
|
||||
$lang['Assigner un réseau à un pays'] = 'Assigner un réseau à un pays';
|
||||
$lang['Modifier le réseau'] = 'Modifier le réseau';
|
||||
$lang['Gestion des administrateurs'] = 'Gestion des administrateurs';
|
||||
$lang['Non confirmé'] = 'Non confirmé';
|
||||
$lang['Confirmé'] = 'Confirmé';
|
||||
$lang['Créer un compte administrateur'] = 'Créer un compte administrateur';
|
||||
$lang['Créer le compte'] = 'Créer le compte';
|
||||
$lang["Confirmation de création d'un compte administrateur"] = "Confirmation de création d'un compte administrateur";
|
||||
$lang['votre compte administrateur a bien été créé. Veuillez suivre ce lien pour configurer votre mot de passe.'] = "votre compte administrateur a bien été créé. Veuillez suivre ce lien pour configurer votre mot de passe.";
|
||||
$lang["Une erreur s'est produite"] = "Une erreur s'est produite";
|
||||
$lang["Le numéro de téléphone entré est déjà utilisé"] = "Le numéro de téléphone entré est déjà utilisé";
|
||||
$lang["L'email entré est déjà utilisé"] = "L'email entré est déjà utilisé";
|
||||
$lang['Vous'] = 'Vous';
|
||||
$lang['assigné'] = 'Assigné';
|
||||
$lang['Non assigné'] = 'Non assigné';
|
||||
$lang['Oui'] = 'Oui';
|
||||
$lang['Non'] = 'Non';
|
||||
$lang['Géolocalisation'] = 'Géolocalisation';
|
||||
$lang['Agent'] = 'Agent';
|
||||
$lang['Voir les détails'] = 'Voir les détails';
|
||||
$lang['Campagne'] = 'Campagne';
|
||||
|
||||
//Traduction tutoriel
|
||||
|
||||
$lang['Tutoriel Backoffice'] = 'Tutoriel Backoffice';
|
||||
$lang['Guide utilisateur'] = 'Guide utilisateur';
|
||||
$lang['Superviseur'] = 'Superviseur';
|
||||
$lang['Connexion'] = 'Connexion';
|
||||
$lang['Première interface du backoffice, le Superviseur est appelé à saisir :'] = 'Première interface du backoffice, le Superviseur est appelé à saisir :';
|
||||
$lang['Son code parrain'] = 'Son code parrain';
|
||||
$lang['Son mot de passe'] = 'Son mot de passe';
|
||||
$lang['S’assurer que le dernier champ soit à'] = 'S’assurer que le dernier champ soit à';
|
||||
$lang['Au coin supérieur gauche, les différents drapeaux désignent les langues disponibles pour le'] = 'Au coin supérieur gauche, les différents drapeaux désignent les langues disponibles pour le';
|
||||
$lang['backoffice. Pour changer de langue, il suffit de cliquer sur le drapeau correspondant (notons que par'] = 'backoffice. Pour changer de langue, il suffit de cliquer sur le drapeau correspondant (notons que par';
|
||||
$lang['défaut, le backoffice s’affiche dans la langue utilisée par le navigateur)͘'] = 'défaut, le backoffice s’affiche dans la langue utilisée par le navigateur)͘';
|
||||
$lang['Le lien '] = 'Le lien ';
|
||||
$lang['est uniquement réservé aux administrateurs.'] = 'est uniquement réservé aux administrateurs.';
|
||||
$lang['Après connexion, le Superviseur est redirigé vers son tableau de bord.'] = 'Après connexion, le Superviseur est redirigé vers son tableau de bord.';
|
||||
$lang['Le tableau de bord Superviseur présente :'] = 'Le tableau de bord Superviseur présente :';
|
||||
$lang['Le nombre d’utilisateurs géolocalisés'] = 'Le nombre d’utilisateurs géolocalisés';
|
||||
$lang['Le nombre de demandes de crédits'] = 'Le nombre de demandes de crédits';
|
||||
$lang['Le nombre de demandes de crédits traitées et celui des demandes non traités.'] = 'Le nombre de demandes de crédits traitées et celui des demandes non traités.';
|
||||
$lang['Le diagramme'] = 'Le diagramme';
|
||||
$lang['montre le nombre d’adhésion (adhésions en orange et demandes'] = 'montre le nombre d’adhésion (adhésions en orange et demandes';
|
||||
$lang['de crédits en bleu) des 12 derniers mois.'] = 'de crédits en bleu) des 12 derniers mois.';
|
||||
$lang['Adhésion par mois sur une année'] = 'Adhésion par mois sur une année';
|
||||
$lang['fait le découpage des adhésions par mois'] = 'fait le découpage des adhésions par mois';
|
||||
$lang['sur l’année en cours'] = 'sur l’année en cours';
|
||||
$lang['Demande de crédits par utilisateurs'] = 'Demande de crédits par utilisateurs';
|
||||
$lang['montre le nombre de demande de crédit'] = 'montre le nombre de demande de crédit';
|
||||
$lang['par utilisateur simple.'] = 'par utilisateur simple.';
|
||||
$lang['Le menu de gauche se compose de 3 onglets:'] = 'Le menu de gauche se compose de 3 onglets:';
|
||||
$lang['pour le tableau de bord'] = 'pour le tableau de bord';
|
||||
$lang['pour consulter les informations sur les demandes de crédits.'] = 'pour consulter les informations sur les demandes de crédits.';
|
||||
$lang['pour consulter les informations sur les demandes de crédits.'] = 'pour consulter les informations sur les demandes de crédits.';
|
||||
$lang['Le Superviseur dispose d’une carte sur laquelle sont marquées les positions de ses points géolocalisés'] = 'Le Superviseur dispose d’une carte sur laquelle sont marquées les positions de ses points géolocalisés';
|
||||
$lang['pour la catégorie de l’utilisateur (qui sera toujours '] = 'pour la catégorie de l’utilisateur (qui sera toujours ';
|
||||
$lang['pour des'] = 'pour des';
|
||||
$lang['en cliquant sur le parrain une fenêtre d’information présente les informations'] = 'en cliquant sur le parrain une fenêtre d’information présente les informations';
|
||||
$lang['supplémentaires.'] = 'supplémentaires.';
|
||||
$lang['le nom ou l’enseigne du point géolocalisé͘'] = 'le nom ou l’enseigne du point géolocalisé͘';
|
||||
$lang['l’adresse physique du point géolocalisé'] = 'l’adresse physique du point géolocalisé';
|
||||
$lang['le réseau courant.'] = 'le réseau courant.';
|
||||
$lang['l’email de la structure'] = 'l’email de la structure';
|
||||
$lang['le numéro de téléphone d’appel du point géolocalisé'] = 'le numéro de téléphone d’appel du point géolocalisé';
|
||||
$lang['Oui si le compte est activé, Non sinon.'] = 'Oui si le compte est activé, Non sinon.';
|
||||
$lang['le code membre point géolocalisé.'] = 'le code membre point géolocalisé.';
|
||||
$lang['Le'] = 'Le';
|
||||
$lang['temps moyen de traitement'] = 'temps moyen de traitement';
|
||||
$lang['des demandes qu’il reçoit'] = 'des demandes qu’il reçoit';
|
||||
$lang['des demandes qu’il effectue'] = 'des demandes qu’il effectue';
|
||||
$lang['Deux tableaux listant chacun un type de demande.'] = 'Deux tableaux listant chacun un type de demande.';
|
||||
$lang['Des tableaux montrant les 5 demandes entrantes/sortantes les plus rapidement/tardivement'] = 'Des tableaux montrant les 5 demandes entrantes/sortantes les plus rapidement/tardivement';
|
||||
$lang['traités'] = 'traités';
|
||||
$lang['Pour se déconnecter, le Superviseur clique sur son nom d’utilisateur dans le coin supérieur droit pour'] = 'Pour se déconnecter, le Superviseur clique sur son nom d’utilisateur dans le coin supérieur droit pour';
|
||||
$lang['faire apparaitre le menu de déconnexion lui présentant : Le réseau courant, son code parrain, son'] = 'faire apparaitre le menu de déconnexion lui présentant : Le réseau courant, son code parrain, son';
|
||||
$lang['adresse email, son pays, son numéro de téléphone et'] = 'adresse email, son pays, son numéro de téléphone et';
|
||||
$lang['le bouton de déconnexion'] = 'le bouton de déconnexion';
|
||||
$lang['Rechercher'] = 'Rechercher';
|
||||
$lang['Rechercher un utilisateur'] = 'Rechercher un utilisateur';
|
||||
$lang['utilisateur trouvé'] = 'utilisateur trouvé';
|
||||
$lang['Aucun utilisateur trouvé'] = 'Aucun utilisateur trouvé';
|
||||
$lang['Voir plus...'] = 'Voir plus...';
|
||||
$lang['Informations de l utilisateur'] = "Informations de l'utilisateur";
|
||||
$lang['Valider'] = 'Valider';
|
||||
$lang['Numéro de transaction'] = 'Numéro de transaction';
|
||||
$lang['Catégorie'] = 'Catégorie';
|
||||
$lang['Date inscription'] = "Date d'inscription";
|
||||
$lang['Utilisateur simple'] = 'Utilisateur simple';
|
||||
$lang['Statut du compte'] = 'Statut du compte';
|
||||
$lang['Publicité'] = 'Publicité';
|
||||
$lang['Gestion de la publicité'] = 'Gestion de la publicité';
|
||||
|
||||
//GAME
|
||||
$lang['Game'] = 'Jeux';
|
||||
$lang['Utilisateurs'] = 'Utilisateurs';
|
||||
$lang[''] = '';
|
||||
$lang[''] = '';
|
||||
$lang[''] = '';
|
||||
$lang[''] = '';
|
||||
$lang[''] = '';
|
||||
$lang[''] = '';
|
||||
$lang[''] = '';
|
||||
$lang[''] = '';
|
||||
$lang[''] = '';
|
||||
$lang[''] = '';
|
||||
$lang[''] = '';
|
||||
$lang[''] = '';
|
||||
$lang[''] = '';
|
||||
?>
|
||||
|
|
|
@ -1873,4 +1873,141 @@ class User_model extends CI_Model
|
|||
return false;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* @param $where_clause
|
||||
* @return bool
|
||||
*/
|
||||
public function get_user($where_clause){
|
||||
$query = $this->db->query("SELECT agents.lastname, agents.adresse,agents.email,agents.date_created,agents.id AS userID,
|
||||
codeGenerer.category,
|
||||
networks.name AS network_name,towns.name AS town_name,
|
||||
codeGenerer.code_parrain AS parrain,codeGenerer.code_membre AS code,
|
||||
networks_agents.id AS networkAgent_id,networks_agents.phone,networks_agents.transactionNumber AS transac
|
||||
FROM agents
|
||||
INNER JOIN networks_agents ON agents.id=networks_agents.agent_id
|
||||
INNER JOIN codeGenerer ON codeGenerer.id=networks_agents.codeGenerer_id
|
||||
INNER JOIN networks ON networks.id =networks_agents.network_id
|
||||
INNER JOIN towns ON towns.id=agents.town_id
|
||||
".$where_clause);
|
||||
$statement = "SELECT agents.lastname, agents.adresse,agents.email,agents.date_created,agents.id AS userID,
|
||||
codeGenerer.category,
|
||||
networks.name AS network_name,towns.name AS town_name,
|
||||
codeGenerer.code_parrain AS parrain,codeGenerer.code_membre AS code,
|
||||
networks_agents.id AS networkAgent_id,networks_agents.phone,networks_agents.transactionNumber AS transac
|
||||
FROM agents
|
||||
INNER JOIN networks_agents ON agents.id=networks_agents.agent_id
|
||||
INNER JOIN codeGenerer ON codeGenerer.id=networks_agents.codeGenerer_id
|
||||
INNER JOIN networks ON networks.id =networks_agents.network_id
|
||||
INNER JOIN towns ON towns.id=agents.town_id
|
||||
".$where_clause;
|
||||
//var_dump($statement);
|
||||
if($query->num_rows()>0){
|
||||
return $query;
|
||||
}else{
|
||||
return false;
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* @param $phone
|
||||
* @param $name
|
||||
* @return |null
|
||||
*/
|
||||
public function get_simple_user($phone, $name){
|
||||
$query = $this->db->query("SELECT users.id AS id_user,users.active AS etat,users.lastname,users.phone,users.email,users.adresse,users.date_created,
|
||||
networks.name AS network,countries.name AS country
|
||||
FROM users
|
||||
INNER JOIN networks ON networks.id=users.network_id
|
||||
INNER JOIN countries ON countries.id=networks.country_id
|
||||
WHERE phone LIKE '".$phone."%' AND lastname LIKE '".$name."%'");
|
||||
|
||||
if($query->num_rows()>0){
|
||||
return $query;
|
||||
}else{
|
||||
return null;
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* @param $nom
|
||||
* @param $adresse
|
||||
* @param $email
|
||||
* @param $phone
|
||||
* @param int $id
|
||||
* @return mixed
|
||||
*/
|
||||
public function update_user_infos($nom, $adresse, $email, $phone, $id){
|
||||
$query = $this->db->query("UPDATE `users` SET `lastname`='".$nom."',`phone`='".$phone."',`email`='".$email."',`adresse`='".$adresse."' WHERE users.id=".$id);
|
||||
$sql = "UPDATE `users` SET `lastname`='".$nom."',`phone`='".$phone."',`email`='".$email."',`adresse`='".$adresse."' WHERE users.id=".$id;
|
||||
|
||||
return $query;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param $nom
|
||||
* @param $adresse
|
||||
* @param $email
|
||||
* @param int $id_agent
|
||||
* @param $transac
|
||||
* @param $phone
|
||||
* @param int $id_netAg
|
||||
* @return bool
|
||||
*/
|
||||
public function update_geolocated_infos($nom, $adresse, $email, $id_agent, $transac, $phone, $id_netAg){
|
||||
$this->db->trans_begin();
|
||||
|
||||
$this->db->query("UPDATE `agents` SET `lastname`='".$nom."',`email`='".$email."',`adresse`='".$adresse."' WHERE `id`=".$id_agent);
|
||||
$this->db->query("UPDATE `networks_agents` SET `phone`='".$phone."',`transactionNumber`='".$transac."' WHERE `id`=".$id_netAg);
|
||||
$this->db->trans_complete();
|
||||
if ($this->db->trans_status() === FALSE)
|
||||
{
|
||||
$this->db->trans_rollback();
|
||||
return false;
|
||||
}
|
||||
else
|
||||
{
|
||||
$this->db->trans_commit();
|
||||
return true;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* @return bool
|
||||
*/
|
||||
public function getPubCountries(){
|
||||
$query = $this->db->query("SELECT countries.id AS id_country,countries.name AS pays,publiciteConfig.id,publiciteConfig.date_update AS maj ,publiciteConfig.partenariat,publiciteConfig.valeur_bool AS etat
|
||||
FROM countries
|
||||
INNER JOIN towns ON countries.id = towns.country_id
|
||||
LEFT JOIN publiciteConfig ON countries.id=publiciteConfig.id_country AND publiciteConfig.id_config=2
|
||||
WHERE towns.status=1
|
||||
GROUP BY countries.id");
|
||||
if($query->num_rows()>0){
|
||||
return $query;
|
||||
}else{
|
||||
return false;
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* Met a jour l'etat de la publicite
|
||||
* @param int $id ID de la configuration
|
||||
* @param $newState Nouvel etat
|
||||
* @return mixed
|
||||
*/
|
||||
public function updateStatePub($id, $newState){
|
||||
$query = $this->db->query("UPDATE publiciteConfig SET date_update = NOW(),valeur_bool = ".$newState." WHERE id =".$id);
|
||||
return $query;
|
||||
}
|
||||
|
||||
/**
|
||||
* Ajoute une nouvelle ligne de publicite
|
||||
* @param int $id_country ID du pays
|
||||
* @return mixed
|
||||
*/
|
||||
public function createPubRow($id_country){
|
||||
$query = $this->db->query("INSERT INTO publiciteConfig(id_config,id_country, valeur_bool) VALUE (2,".$id_country.",1)");
|
||||
return $query;
|
||||
}
|
||||
}
|
||||
|
|
|
@ -1,392 +1,392 @@
|
|||
<link rel="stylesheet" href="<?php echo base_url('bower_components/datatables.net-bs/css/dataTables.bootstrap.min.css') ?>">
|
||||
<div class="content-wrapper">
|
||||
<!-- Content Header (Page header) -->
|
||||
<section class="content-header">
|
||||
<div class="row">
|
||||
<h3 style="text-align:center;">Configuration du jeu</h3>
|
||||
<div class="col-md-8 col-sm-8 col-xs-12">
|
||||
<div class="box">
|
||||
<div class="box-header">
|
||||
<h3 class="box-title"><?php echo $this->lang->line('Activer/Désactiver'); ?></h3>
|
||||
</div>
|
||||
<div class="box-body">
|
||||
|
||||
<?php
|
||||
|
||||
$sql2 = $pays;
|
||||
if($sql2!=false){
|
||||
$numrows=$sql2->num_rows();
|
||||
$num = 0;
|
||||
if ($numrows > 0) {
|
||||
?>
|
||||
<table id="validated" class="table table-bordered table-striped">
|
||||
<thead>
|
||||
<tr>
|
||||
<th align='center'>N°</th>
|
||||
<th><?php echo $this->lang->line('Pays'); ?></th>
|
||||
<th align='center'><?php echo $this->lang->line('Statut'); ?></th>
|
||||
<th align='center'><?php echo $this->lang->line('Activer'); ?></th>
|
||||
<th align='center'><?php echo $this->lang->line('Désactiver'); ?></th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
<?php
|
||||
foreach($sql2->result() as $row) {
|
||||
$num ++;
|
||||
//$member_code = randomString1(10);
|
||||
$libelle_status = $this->lang->line('Inactive');
|
||||
if($row->etat==1){
|
||||
$libelle_status = $this->lang->line('Active');
|
||||
}
|
||||
echo "<tr>
|
||||
<td align='center'>$num</td>
|
||||
<td >$row->name</td>
|
||||
<td align='center'>$libelle_status</td>";
|
||||
if($row->etat==0 or $row->etat==null) {
|
||||
echo "<td align='center'><input type='checkbox' name='activer' class='chk' value='".$row->id."'></td>
|
||||
<td align='center'><input type='checkbox' name='desactiver' value='".$row->id."' disabled></td>";
|
||||
}else{
|
||||
echo "<td align='center'><input type='checkbox' name='activer' value='".$row->id."' disabled></td>
|
||||
<td align='center'><input type='checkbox' name='desactiver' value='".$row->id."' class='unchk'></td>";
|
||||
}
|
||||
|
||||
}
|
||||
?>
|
||||
</tbody>
|
||||
</table>
|
||||
<button type="button" class="btn btn-success" id="valider"><?php echo $this->lang->line('Activer/Désactiver'); ?></button>
|
||||
<?php
|
||||
|
||||
}
|
||||
|
||||
else {
|
||||
echo $this->lang->line('Aucun pays');
|
||||
}
|
||||
}else {
|
||||
echo $this->lang->line('Aucun pays');
|
||||
}
|
||||
?>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="col-md-4 col-sm-4 col-xs-12">
|
||||
<div class="box">
|
||||
<div class="box-header">
|
||||
<h3 class="box-title">Gestion des niveaux</h3>
|
||||
</div>
|
||||
<div class="box-body">
|
||||
<?php
|
||||
$result=$paliers;
|
||||
if($result!=false){
|
||||
$numrows=$result->num_rows();
|
||||
$i=0;
|
||||
if ($numrows > 0) {
|
||||
foreach($result->result() as $row) {
|
||||
$i++;
|
||||
?>
|
||||
<div class="form-group">
|
||||
<label><?php echo $row->libelle; ?>:</label>
|
||||
<div class="input-group">
|
||||
<div class="input-group-addon">
|
||||
</div>
|
||||
<input type="number" id="palier<?php echo $i; ?>" value="<?php echo $row->valeur; ?>" class="form-control">
|
||||
</div>
|
||||
</div>
|
||||
<?php
|
||||
}
|
||||
}
|
||||
}
|
||||
?>
|
||||
<button type="button" id="modif-palier" class="btn btn-success">Valider</button>
|
||||
|
||||
</div>
|
||||
<!-- /.box-body -->
|
||||
</div>
|
||||
<!-- /.box -->
|
||||
|
||||
</div>
|
||||
</div>
|
||||
<div class="col-md-12 col-sm-12 col-xs-12">
|
||||
<div >
|
||||
<div class="box box-default collapsed-box">
|
||||
<div class="box-header with-border">
|
||||
<h3 class="box-title"><?php echo $this->session->userdata('current_game_country_name'); ?></h3>
|
||||
<div class="box-tools pull-right">
|
||||
<button type="button" class="btn btn-box-tool" data-widget="collapse"><i class="fa fa-plus"></i>
|
||||
</button>
|
||||
</div>
|
||||
</div>
|
||||
<div class="box-body">
|
||||
<?php
|
||||
$result=$game_pays;
|
||||
|
||||
$numrows=$result->num_rows();
|
||||
|
||||
if ($numrows > 0) { ?>
|
||||
<?php foreach($result->result() as $row) {
|
||||
if($row->id!=$this->session->userdata('current_game_country')){
|
||||
echo "<button class='change-country btn btn-block btn-social btn-instagram' value=".$row->id.">".$row->name."</button>";
|
||||
}
|
||||
} ?>
|
||||
<?php }else{
|
||||
echo "Aucun pays";
|
||||
}
|
||||
?>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="row">
|
||||
<div class="col-md-3 col-sm-6 col-xs-12">
|
||||
<div class="info-box">
|
||||
<span class="info-box-icon bg-aqua"><?php echo $q4 ?></i></span>
|
||||
|
||||
<div class="info-box-content">
|
||||
<span class="info-box-text"><?php echo $this->lang->line('Utilisateurs'); ?></span>
|
||||
<span class="info-box-number"><?php echo $quota4; ?></span>
|
||||
</div>
|
||||
<!-- /.info-box-content -->
|
||||
</div>
|
||||
<!-- /.info-box -->
|
||||
</div>
|
||||
<!-- /.col -->
|
||||
<div class="col-md-3 col-sm-6 col-xs-12">
|
||||
<div class="info-box">
|
||||
<span class="info-box-icon bg-green"><?php echo $q3 ?></span>
|
||||
|
||||
<div class="info-box-content">
|
||||
<span class="info-box-text"><?php echo $this->lang->line('Utilisateurs'); ?></span>
|
||||
<span class="info-box-number"><?php echo $quota3; ?></span>
|
||||
</div>
|
||||
<!-- /.info-box-content -->
|
||||
</div>
|
||||
<!-- /.info-box -->
|
||||
</div>
|
||||
<!-- /.col -->
|
||||
<div class="col-md-3 col-sm-6 col-xs-12">
|
||||
<div class="info-box">
|
||||
<span class="info-box-icon bg-yellow"><?php echo $q2 ?></i></span>
|
||||
|
||||
<div class="info-box-content">
|
||||
<span class="info-box-text"><?php echo $this->lang->line('Utilisateurs'); ?></span>
|
||||
<span class="info-box-number"><?php echo $quota2; ?></span>
|
||||
</div>
|
||||
<!-- /.info-box-content -->
|
||||
</div>
|
||||
<!-- /.info-box -->
|
||||
</div>
|
||||
<!-- /.col -->
|
||||
<div class="col-md-3 col-sm-6 col-xs-12">
|
||||
<div class="info-box">
|
||||
<span class="info-box-icon bg-red"><?php echo $q1 ?></span>
|
||||
|
||||
<div class="info-box-content">
|
||||
<span class="info-box-text"><?php echo $this->lang->line('Utilisateurs'); ?></span>
|
||||
<span class="info-box-number"><?php echo $quota1; ?></span>
|
||||
</div>
|
||||
<!-- /.info-box-content -->
|
||||
</div>
|
||||
<!-- /.info-box -->
|
||||
</div>
|
||||
</div>
|
||||
<div class="row">
|
||||
<div class="col-xs-12">
|
||||
<div class="box">
|
||||
<div class="box-header">
|
||||
<h3 class="box-title">Utilisateurs ayant atteint les quotas</h3>
|
||||
|
||||
</div>
|
||||
<!-- /.box-header -->
|
||||
<div class="box-body table-responsive no-padding">
|
||||
<table class="table table-hover">
|
||||
|
||||
<?php
|
||||
$result=$list;
|
||||
if($result!=false){
|
||||
$numrows=$result->num_rows();
|
||||
$i=0;
|
||||
if ($numrows > 0) {
|
||||
?>
|
||||
<tr>
|
||||
<th>N°</th>
|
||||
<th>Nom</th>
|
||||
<th>Téléphone</th>
|
||||
<th>Email</th>
|
||||
<th>Résultat</th>
|
||||
</tr>
|
||||
<?php foreach($result->result() as $row) {
|
||||
$i++;
|
||||
echo "<tr>
|
||||
<td>".$i."</td>
|
||||
<td>".$row->lastname."</td>
|
||||
<td>".$row->phone."</td>
|
||||
<td>".$row->email."</td>";
|
||||
if($row->total>=$q4){
|
||||
echo "<td><span class='label label-primary'>".$row->total." utilisateurs</span></td>";
|
||||
}elseif($row->total>=$q3 && $row->total<$q4){
|
||||
echo "<td><span class='label label-success'>".$row->total." utilisateurs</span></td>";
|
||||
}elseif($row->total>=$q2 && $row->total<$q3){
|
||||
echo "<td><span class='label label-warning'>".$row->total." utilisateurs</span></td>";
|
||||
}elseif($row->total>=$q1 && $row->total<$q2){
|
||||
echo "<td><span class='label label-danger'>".$row->total." utilisateurs</span></td>";
|
||||
}
|
||||
|
||||
echo "</tr>";
|
||||
} ?>
|
||||
<?php }else{
|
||||
echo "Aucun utilisateur";
|
||||
}
|
||||
}else{
|
||||
echo "Aucun utilisateur";
|
||||
}
|
||||
?>
|
||||
|
||||
</table>
|
||||
</div>
|
||||
<!-- /.box-body -->
|
||||
</div>
|
||||
<!-- /.box -->
|
||||
</div>
|
||||
</div>
|
||||
</section>
|
||||
</div>
|
||||
<!-- jQuery 3 -->
|
||||
<script src="<?php echo base_url('bower_components/jquery/dist/jquery.min.js') ?>"></script>
|
||||
<!-- Bootstrap 3.3.7 -->
|
||||
<script src="<?php echo base_url('bower_components/bootstrap/dist/js/bootstrap.min.js') ?>"></script>
|
||||
<!-- DataTables -->
|
||||
<script src="<?php echo base_url('bower_components/datatables.net/js/jquery.dataTables.min.js') ?>"></script>
|
||||
<script src="<?php echo base_url('bower_components/datatables.net-bs/js/dataTables.bootstrap.min.js') ?>"></script>
|
||||
<!-- Slimscroll -->
|
||||
<script src="<?php echo base_url('bower_components/jquery-slimscroll/jquery.slimscroll.min.js') ?>"></script>
|
||||
<!-- FastClick -->
|
||||
<script src="<?php echo base_url('bower_components/fastclick/lib/fastclick.js') ?>"></script>
|
||||
<!-- AdminLTE App -->
|
||||
<script src="<?php echo base_url('dist/js/adminlte.min.js') ?>"></script>
|
||||
<!-- AdminLTE for demo purposes -->
|
||||
<script src="<?php echo base_url('dist/js/demo.js') ?>"></script>
|
||||
|
||||
<script>
|
||||
$(function() {
|
||||
$('#validated').DataTable();
|
||||
});
|
||||
|
||||
$('#modif-palier').click(function(){
|
||||
var n1 = $('#palier1').val();
|
||||
var n2 = $('#palier2').val();
|
||||
var n3 = $('#palier3').val();
|
||||
var n4 = $('#palier4').val();
|
||||
$.ajax({
|
||||
url:'<?php echo base_url('index.php/Gestion/modifierPalier')?>',
|
||||
type: 'post',
|
||||
data: {n1: n1,n2:n2,n3:n3,n4:n4},
|
||||
dataType: 'json',
|
||||
success: function(data){
|
||||
if(data==='completed'){
|
||||
alert('Les valeurs des paliers ont été modifiés');
|
||||
location.reload(true);
|
||||
}else{
|
||||
alert("Une erreur s'est produite");
|
||||
location.reload(true);
|
||||
}
|
||||
}
|
||||
});
|
||||
});
|
||||
|
||||
$('.change-country').click(function(){
|
||||
var id_pays = $(this).val();
|
||||
$.post("<?php echo base_url('index.php/Gestion/change_country')?>",
|
||||
{
|
||||
pays: id_pays
|
||||
},
|
||||
function(data, status){
|
||||
console.log(typeof data);
|
||||
if(data==1){
|
||||
window.location.replace("<?php echo base_url('index.php/Gestion/game')?>");
|
||||
}else{
|
||||
alert("Une erreur s'est produite");
|
||||
}
|
||||
});
|
||||
});
|
||||
|
||||
</script>
|
||||
<script>
|
||||
$(document).ready(function(){
|
||||
|
||||
var id_ville = 0;
|
||||
|
||||
$("#valider").click(function() {
|
||||
activeGame();
|
||||
});
|
||||
|
||||
function activeGame(){
|
||||
|
||||
var chkArray = [];
|
||||
$(".chk:checked").each(function() {
|
||||
chkArray.push($(this).val());
|
||||
});
|
||||
var selected;
|
||||
selected = chkArray.join(',') ;
|
||||
|
||||
var unchkArray = [];
|
||||
$(".unchk:checked").each(function() {
|
||||
unchkArray.push($(this).val());
|
||||
});
|
||||
var selectedForDisable;
|
||||
selectedForDisable = unchkArray.join(',') ;
|
||||
|
||||
if(selected.length > 0 && selectedForDisable.length === 0){
|
||||
$.ajax({
|
||||
url:'<?php echo base_url('index.php/Gestion/activerGame')?>',
|
||||
type: 'post',
|
||||
data: {pays: chkArray},
|
||||
dataType: 'json',
|
||||
success: function(data){
|
||||
if(data==='completed'){
|
||||
alert('Le jeu a été activé pour ce(s) pays');
|
||||
location.reload(true);
|
||||
}else{
|
||||
alert("Une erreur s'est produite");
|
||||
location.reload(true);
|
||||
}
|
||||
}
|
||||
});
|
||||
} else if (selectedForDisable.length > 0 && selected.length === 0){
|
||||
$.ajax({
|
||||
url:'<?php echo base_url('index.php/Gestion/desactiverGame')?>',
|
||||
type: 'post',
|
||||
data: {pays: unchkArray},
|
||||
dataType: 'json',
|
||||
success: function(data){
|
||||
if(data==='completed'){
|
||||
alert('Le jeu a été désactivé pour ce(s) pays');
|
||||
location.reload(true);
|
||||
}else{
|
||||
alert("Une erreur s'est produite");
|
||||
location.reload(true);
|
||||
}
|
||||
}
|
||||
});
|
||||
} else if (selectedForDisable.length > 0 && selected.length > 0){
|
||||
$.ajax({
|
||||
url:'<?php echo base_url('index.php/Gestion/activer_desactiverGame')?>',
|
||||
type: 'post',
|
||||
data: {dpays: unchkArray,apays: chkArray},
|
||||
dataType: 'json',
|
||||
success: function(data){
|
||||
if(data==='completed'){
|
||||
alert('Le jeu a été activé/désactivé pour ce(s) pays');
|
||||
location.reload(true);
|
||||
}else{
|
||||
alert("Une erreur s'est produite");
|
||||
location.reload(true);
|
||||
}
|
||||
}
|
||||
});
|
||||
}else{
|
||||
alert("Veuillez cocher des pays");
|
||||
}
|
||||
}
|
||||
|
||||
});
|
||||
</script>
|
||||
<link rel="stylesheet" href="<?php echo base_url('bower_components/datatables.net-bs/css/dataTables.bootstrap.min.css') ?>">
|
||||
<div class="content-wrapper">
|
||||
<!-- Content Header (Page header) -->
|
||||
<section class="content-header">
|
||||
<div class="row">
|
||||
<h3 style="text-align:center;">Configuration du jeu</h3>
|
||||
<div class="col-md-8 col-sm-8 col-xs-12">
|
||||
<div class="box">
|
||||
<div class="box-header">
|
||||
<h3 class="box-title"><?php echo $this->lang->line('Activer/Désactiver'); ?></h3>
|
||||
</div>
|
||||
<div class="box-body">
|
||||
|
||||
<?php
|
||||
|
||||
$sql2 = $pays;
|
||||
if($sql2!=false){
|
||||
$numrows=$sql2->num_rows();
|
||||
$num = 0;
|
||||
if ($numrows > 0) {
|
||||
?>
|
||||
<table id="validated" class="table table-bordered table-striped">
|
||||
<thead>
|
||||
<tr>
|
||||
<th align='center'>N°</th>
|
||||
<th><?php echo $this->lang->line('Pays'); ?></th>
|
||||
<th align='center'><?php echo $this->lang->line('Statut'); ?></th>
|
||||
<th align='center'><?php echo $this->lang->line('Activer'); ?></th>
|
||||
<th align='center'><?php echo $this->lang->line('Désactiver'); ?></th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
<?php
|
||||
foreach($sql2->result() as $row) {
|
||||
$num ++;
|
||||
//$member_code = randomString1(10);
|
||||
$libelle_status = $this->lang->line('Inactive');
|
||||
if($row->etat==1){
|
||||
$libelle_status = $this->lang->line('Active');
|
||||
}
|
||||
echo "<tr>
|
||||
<td align='center'>$num</td>
|
||||
<td >$row->name</td>
|
||||
<td align='center'>$libelle_status</td>";
|
||||
if($row->etat==0 or $row->etat==null) {
|
||||
echo "<td align='center'><input type='checkbox' name='activer' class='chk' value='".$row->id."'></td>
|
||||
<td align='center'><input type='checkbox' name='desactiver' value='".$row->id."' disabled></td>";
|
||||
}else{
|
||||
echo "<td align='center'><input type='checkbox' name='activer' value='".$row->id."' disabled></td>
|
||||
<td align='center'><input type='checkbox' name='desactiver' value='".$row->id."' class='unchk'></td>";
|
||||
}
|
||||
|
||||
}
|
||||
?>
|
||||
</tbody>
|
||||
</table>
|
||||
<button type="button" class="btn btn-success" id="valider"><?php echo $this->lang->line('Activer/Désactiver'); ?></button>
|
||||
<?php
|
||||
|
||||
}
|
||||
|
||||
else {
|
||||
echo $this->lang->line('Aucun pays');
|
||||
}
|
||||
}else {
|
||||
echo $this->lang->line('Aucun pays');
|
||||
}
|
||||
?>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="col-md-4 col-sm-4 col-xs-12">
|
||||
<div class="box">
|
||||
<div class="box-header">
|
||||
<h3 class="box-title">Gestion des niveaux</h3>
|
||||
</div>
|
||||
<div class="box-body">
|
||||
<?php
|
||||
$result=$paliers;
|
||||
if($result!=false){
|
||||
$numrows=$result->num_rows();
|
||||
$i=0;
|
||||
if ($numrows > 0) {
|
||||
foreach($result->result() as $row) {
|
||||
$i++;
|
||||
?>
|
||||
<div class="form-group">
|
||||
<label><?php echo $row->libelle; ?>:</label>
|
||||
<div class="input-group">
|
||||
<div class="input-group-addon">
|
||||
</div>
|
||||
<input type="number" id="palier<?php echo $i; ?>" value="<?php echo $row->valeur; ?>" class="form-control">
|
||||
</div>
|
||||
</div>
|
||||
<?php
|
||||
}
|
||||
}
|
||||
}
|
||||
?>
|
||||
<button type="button" id="modif-palier" class="btn btn-success">Valider</button>
|
||||
|
||||
</div>
|
||||
<!-- /.box-body -->
|
||||
</div>
|
||||
<!-- /.box -->
|
||||
|
||||
</div>
|
||||
</div>
|
||||
<div class="col-md-12 col-sm-12 col-xs-12">
|
||||
<div >
|
||||
<div class="box box-default collapsed-box">
|
||||
<div class="box-header with-border">
|
||||
<h3 class="box-title"><?php echo $this->session->userdata('current_game_country_name'); ?></h3>
|
||||
<div class="box-tools pull-right">
|
||||
<button type="button" class="btn btn-box-tool" data-widget="collapse"><i class="fa fa-plus"></i>
|
||||
</button>
|
||||
</div>
|
||||
</div>
|
||||
<div class="box-body">
|
||||
<?php
|
||||
$result=$game_pays;
|
||||
|
||||
$numrows=$result->num_rows();
|
||||
|
||||
if ($numrows > 0) { ?>
|
||||
<?php foreach($result->result() as $row) {
|
||||
if($row->id!=$this->session->userdata('current_game_country')){
|
||||
echo "<button class='change-country btn btn-block btn-social btn-instagram' value=".$row->id.">".$row->name."</button>";
|
||||
}
|
||||
} ?>
|
||||
<?php }else{
|
||||
echo "Aucun pays";
|
||||
}
|
||||
?>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="row">
|
||||
<div class="col-md-3 col-sm-6 col-xs-12">
|
||||
<div class="info-box">
|
||||
<span class="info-box-icon bg-aqua"><?php echo $q4 ?></i></span>
|
||||
|
||||
<div class="info-box-content">
|
||||
<span class="info-box-text"><?php echo $this->lang->line('Utilisateurs'); ?></span>
|
||||
<span class="info-box-number"><?php echo $quota4; ?></span>
|
||||
</div>
|
||||
<!-- /.info-box-content -->
|
||||
</div>
|
||||
<!-- /.info-box -->
|
||||
</div>
|
||||
<!-- /.col -->
|
||||
<div class="col-md-3 col-sm-6 col-xs-12">
|
||||
<div class="info-box">
|
||||
<span class="info-box-icon bg-green"><?php echo $q3 ?></span>
|
||||
|
||||
<div class="info-box-content">
|
||||
<span class="info-box-text"><?php echo $this->lang->line('Utilisateurs'); ?></span>
|
||||
<span class="info-box-number"><?php echo $quota3; ?></span>
|
||||
</div>
|
||||
<!-- /.info-box-content -->
|
||||
</div>
|
||||
<!-- /.info-box -->
|
||||
</div>
|
||||
<!-- /.col -->
|
||||
<div class="col-md-3 col-sm-6 col-xs-12">
|
||||
<div class="info-box">
|
||||
<span class="info-box-icon bg-yellow"><?php echo $q2 ?></i></span>
|
||||
|
||||
<div class="info-box-content">
|
||||
<span class="info-box-text"><?php echo $this->lang->line('Utilisateurs'); ?></span>
|
||||
<span class="info-box-number"><?php echo $quota2; ?></span>
|
||||
</div>
|
||||
<!-- /.info-box-content -->
|
||||
</div>
|
||||
<!-- /.info-box -->
|
||||
</div>
|
||||
<!-- /.col -->
|
||||
<div class="col-md-3 col-sm-6 col-xs-12">
|
||||
<div class="info-box">
|
||||
<span class="info-box-icon bg-red"><?php echo $q1 ?></span>
|
||||
|
||||
<div class="info-box-content">
|
||||
<span class="info-box-text"><?php echo $this->lang->line('Utilisateurs'); ?></span>
|
||||
<span class="info-box-number"><?php echo $quota1; ?></span>
|
||||
</div>
|
||||
<!-- /.info-box-content -->
|
||||
</div>
|
||||
<!-- /.info-box -->
|
||||
</div>
|
||||
</div>
|
||||
<div class="row">
|
||||
<div class="col-xs-12">
|
||||
<div class="box">
|
||||
<div class="box-header">
|
||||
<h3 class="box-title">Utilisateurs ayant atteint les quotas</h3>
|
||||
|
||||
</div>
|
||||
<!-- /.box-header -->
|
||||
<div class="box-body table-responsive no-padding">
|
||||
<table class="table table-hover">
|
||||
|
||||
<?php
|
||||
$result=$list;
|
||||
if($result!=false){
|
||||
$numrows=$result->num_rows();
|
||||
$i=0;
|
||||
if ($numrows > 0) {
|
||||
?>
|
||||
<tr>
|
||||
<th>N°</th>
|
||||
<th>Nom</th>
|
||||
<th>Téléphone</th>
|
||||
<th>Email</th>
|
||||
<th>Résultat</th>
|
||||
</tr>
|
||||
<?php foreach($result->result() as $row) {
|
||||
$i++;
|
||||
echo "<tr>
|
||||
<td>".$i."</td>
|
||||
<td>".$row->lastname."</td>
|
||||
<td>".$row->phone."</td>
|
||||
<td>".$row->email."</td>";
|
||||
if($row->total>=$q4){
|
||||
echo "<td><span class='label label-primary'>".$row->total." utilisateurs</span></td>";
|
||||
}elseif($row->total>=$q3 && $row->total<$q4){
|
||||
echo "<td><span class='label label-success'>".$row->total." utilisateurs</span></td>";
|
||||
}elseif($row->total>=$q2 && $row->total<$q3){
|
||||
echo "<td><span class='label label-warning'>".$row->total." utilisateurs</span></td>";
|
||||
}elseif($row->total>=$q1 && $row->total<$q2){
|
||||
echo "<td><span class='label label-danger'>".$row->total." utilisateurs</span></td>";
|
||||
}
|
||||
|
||||
echo "</tr>";
|
||||
} ?>
|
||||
<?php }else{
|
||||
echo "Aucun utilisateur";
|
||||
}
|
||||
}else{
|
||||
echo "Aucun utilisateur";
|
||||
}
|
||||
?>
|
||||
|
||||
</table>
|
||||
</div>
|
||||
<!-- /.box-body -->
|
||||
</div>
|
||||
<!-- /.box -->
|
||||
</div>
|
||||
</div>
|
||||
</section>
|
||||
</div>
|
||||
<!-- jQuery 3 -->
|
||||
<script src="<?php echo base_url('bower_components/jquery/dist/jquery.min.js') ?>"></script>
|
||||
<!-- Bootstrap 3.3.7 -->
|
||||
<script src="<?php echo base_url('bower_components/bootstrap/dist/js/bootstrap.min.js') ?>"></script>
|
||||
<!-- DataTables -->
|
||||
<script src="<?php echo base_url('bower_components/datatables.net/js/jquery.dataTables.min.js') ?>"></script>
|
||||
<script src="<?php echo base_url('bower_components/datatables.net-bs/js/dataTables.bootstrap.min.js') ?>"></script>
|
||||
<!-- Slimscroll -->
|
||||
<script src="<?php echo base_url('bower_components/jquery-slimscroll/jquery.slimscroll.min.js') ?>"></script>
|
||||
<!-- FastClick -->
|
||||
<script src="<?php echo base_url('bower_components/fastclick/lib/fastclick.js') ?>"></script>
|
||||
<!-- AdminLTE App -->
|
||||
<script src="<?php echo base_url('dist/js/adminlte.min.js') ?>"></script>
|
||||
<!-- AdminLTE for demo purposes -->
|
||||
<script src="<?php echo base_url('dist/js/demo.js') ?>"></script>
|
||||
|
||||
<script>
|
||||
$(function() {
|
||||
$('#validated').DataTable();
|
||||
});
|
||||
|
||||
$('#modif-palier').click(function(){
|
||||
var n1 = $('#palier1').val();
|
||||
var n2 = $('#palier2').val();
|
||||
var n3 = $('#palier3').val();
|
||||
var n4 = $('#palier4').val();
|
||||
$.ajax({
|
||||
url:'<?php echo base_url('index.php/Gestion/modifierPalier')?>',
|
||||
type: 'post',
|
||||
data: {n1: n1,n2:n2,n3:n3,n4:n4},
|
||||
dataType: 'json',
|
||||
success: function(data){
|
||||
if(data==='completed'){
|
||||
alert('Les valeurs des paliers ont été modifiés');
|
||||
location.reload(true);
|
||||
}else{
|
||||
alert("Une erreur s'est produite");
|
||||
location.reload(true);
|
||||
}
|
||||
}
|
||||
});
|
||||
});
|
||||
|
||||
$('.change-country').click(function(){
|
||||
var id_pays = $(this).val();
|
||||
$.post("<?php echo base_url('index.php/Gestion/change_country')?>",
|
||||
{
|
||||
pays: id_pays
|
||||
},
|
||||
function(data, status){
|
||||
console.log(typeof data);
|
||||
if(data==1){
|
||||
window.location.replace("<?php echo base_url('index.php/Gestion/game')?>");
|
||||
}else{
|
||||
alert("Une erreur s'est produite");
|
||||
}
|
||||
});
|
||||
});
|
||||
|
||||
</script>
|
||||
<script>
|
||||
$(document).ready(function(){
|
||||
|
||||
var id_ville = 0;
|
||||
|
||||
$("#valider").click(function() {
|
||||
activeGame();
|
||||
});
|
||||
|
||||
function activeGame(){
|
||||
|
||||
var chkArray = [];
|
||||
$(".chk:checked").each(function() {
|
||||
chkArray.push($(this).val());
|
||||
});
|
||||
var selected;
|
||||
selected = chkArray.join(',') ;
|
||||
|
||||
var unchkArray = [];
|
||||
$(".unchk:checked").each(function() {
|
||||
unchkArray.push($(this).val());
|
||||
});
|
||||
var selectedForDisable;
|
||||
selectedForDisable = unchkArray.join(',') ;
|
||||
|
||||
if(selected.length > 0 && selectedForDisable.length === 0){
|
||||
$.ajax({
|
||||
url:'<?php echo base_url('index.php/Gestion/activerGame')?>',
|
||||
type: 'post',
|
||||
data: {pays: chkArray},
|
||||
dataType: 'json',
|
||||
success: function(data){
|
||||
if(data==='completed'){
|
||||
alert('Le jeu a été activé pour ce(s) pays');
|
||||
location.reload(true);
|
||||
}else{
|
||||
alert("Une erreur s'est produite");
|
||||
location.reload(true);
|
||||
}
|
||||
}
|
||||
});
|
||||
} else if (selectedForDisable.length > 0 && selected.length === 0){
|
||||
$.ajax({
|
||||
url:'<?php echo base_url('index.php/Gestion/desactiverGame')?>',
|
||||
type: 'post',
|
||||
data: {pays: unchkArray},
|
||||
dataType: 'json',
|
||||
success: function(data){
|
||||
if(data==='completed'){
|
||||
alert('Le jeu a été désactivé pour ce(s) pays');
|
||||
location.reload(true);
|
||||
}else{
|
||||
alert("Une erreur s'est produite");
|
||||
location.reload(true);
|
||||
}
|
||||
}
|
||||
});
|
||||
} else if (selectedForDisable.length > 0 && selected.length > 0){
|
||||
$.ajax({
|
||||
url:'<?php echo base_url('index.php/Gestion/activer_desactiverGame')?>',
|
||||
type: 'post',
|
||||
data: {dpays: unchkArray,apays: chkArray},
|
||||
dataType: 'json',
|
||||
success: function(data){
|
||||
if(data==='completed'){
|
||||
alert('Le jeu a été activé/désactivé pour ce(s) pays');
|
||||
location.reload(true);
|
||||
}else{
|
||||
alert("Une erreur s'est produite");
|
||||
location.reload(true);
|
||||
}
|
||||
}
|
||||
});
|
||||
}else{
|
||||
alert("Veuillez cocher des pays");
|
||||
}
|
||||
}
|
||||
|
||||
});
|
||||
</script>
|
||||
|
|
|
@ -0,0 +1,165 @@
|
|||
<div class="content-wrapper">
|
||||
<section class="content-header">
|
||||
|
||||
<h1>
|
||||
<?php echo $this->lang->line('Gestion de la publicité'); ?>
|
||||
</h1>
|
||||
<?php
|
||||
$site_url = base_url();
|
||||
|
||||
if($alert=="ok") {
|
||||
|
||||
if(!$success=="ok"){
|
||||
?>
|
||||
<div class='alert alert-danger alert-dismissible col-xs-6'>
|
||||
<button type='button' class='close' data-dismiss='alert' aria-hidden='true'>×</button>
|
||||
<h4><i class='icon fa fa-ban'></i> Erreur!</h4>
|
||||
<?php echo $message; ?>
|
||||
</div>
|
||||
|
||||
<?php
|
||||
} else {
|
||||
?>
|
||||
<div class="alert alert-success alert-dismissible col-xs-6">
|
||||
<button type="button" class="close" data-dismiss="alert" aria-hidden="true">×</button>
|
||||
<h4><i class="icon fa fa-check"></i> Success!</h4>
|
||||
<?php echo $message; ?>
|
||||
</div>
|
||||
|
||||
<?php
|
||||
}
|
||||
}
|
||||
?>
|
||||
</section>
|
||||
<section class="content">
|
||||
<div class="box box-primary">
|
||||
<div class="box-body">
|
||||
<div class="row">
|
||||
<div class="col-xs-12">
|
||||
<div class="box">
|
||||
<div class="box-header">
|
||||
<h3 class="box-title">Publicité interstitielle</h3>
|
||||
</div>
|
||||
<div class="box-body table-responsive no-padding">
|
||||
<table class="table table-hover">
|
||||
<tbody>
|
||||
<tr>
|
||||
<th>Pays</th>
|
||||
<th>Opérateur</th>
|
||||
<th>Date de mise à jour</th>
|
||||
<th>Statut</th>
|
||||
<th>Activer/Desactiver</th>
|
||||
</tr>
|
||||
<?php $countries = $countries_list;
|
||||
if($countries!=false){
|
||||
$numrows= $countries->num_rows();
|
||||
$num = 0;
|
||||
if ($numrows > 0) {
|
||||
foreach($countries->result() as $row) {
|
||||
$num ++;
|
||||
?>
|
||||
<tr>
|
||||
<td><?php echo $row->pays ?></td>
|
||||
<td><?php echo $row->partenariat ?></td>
|
||||
<td><?php echo $row->maj ?></td>
|
||||
<?php
|
||||
if($row->etat==1){
|
||||
?>
|
||||
<td><span class="label label-success"><?php echo $this->lang->line('Actif'); ?></span></td>
|
||||
<td><button type="button" data-countryid="<?php echo $row->id_country; ?>" data-etat="<?php echo $row->etat; ?>" data-idpub="<?php echo $row->id; ?>" class="btn btn-danger changeStatePub"><?php echo $this->lang->line('Désactiver'); ?></button></td>
|
||||
<?php
|
||||
}else{
|
||||
?>
|
||||
<td><span class="label label-danger"><?php echo $this->lang->line('Inactif'); ?></span></td>
|
||||
<td><button type="button" data-countryid="<?php echo $row->id_country; ?>" data-etat="<?php echo $row->etat; ?>" data-idpub="<?php echo $row->id; ?>" class="btn btn-primary changeStatePub"><?php echo $this->lang->line('Activer'); ?></button></td>
|
||||
<?php
|
||||
}
|
||||
?>
|
||||
</tr>
|
||||
<?php
|
||||
}
|
||||
}
|
||||
}
|
||||
?>
|
||||
</tbody>
|
||||
</table>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</section>
|
||||
</div>
|
||||
|
||||
<!-- jQuery 3 -->
|
||||
<script src="<?php echo base_url('bower_components/jquery/dist/jquery.min.js') ?>"></script>
|
||||
<!-- Bootstrap 3.3.7 -->
|
||||
<script src="<?php echo base_url('bower_components/bootstrap/dist/js/bootstrap.min.js') ?>"></script>
|
||||
<!-- DataTables -->
|
||||
<script src="<?php echo base_url('bower_components/datatables.net/js/jquery.dataTables.min.js') ?>"></script>
|
||||
<script src="<?php echo base_url('bower_components/datatables.net-bs/js/dataTables.bootstrap.min.js') ?>"></script>
|
||||
<!-- Slimscroll -->
|
||||
<script src="<?php echo base_url('bower_components/jquery-slimscroll/jquery.slimscroll.min.js') ?>"></script>
|
||||
<!-- FastClick -->
|
||||
<script src="<?php echo base_url('bower_components/fastclick/lib/fastclick.js') ?>"></script>
|
||||
<!-- AdminLTE App -->
|
||||
<script src="<?php echo base_url('dist/js/adminlte.min.js') ?>"></script>
|
||||
<!-- AdminLTE for demo purposes -->
|
||||
<script src="<?php echo base_url('dist/js/demo.js') ?>"></script>
|
||||
|
||||
<script src="<?php echo base_url('dist/js/demo.js') ?>"></script>
|
||||
|
||||
<script src="<?php echo base_url('bower_components/moment/min/moment.min.js') ?>"></script>
|
||||
<script src="<?php echo base_url('bower_components/bootstrap-daterangepicker/daterangepicker.js') ?>"></script>
|
||||
<script src="<?php echo base_url('bower_components/bootstrap-datepicker/dist/js/bootstrap-datepicker.min.js') ?>"></script>
|
||||
<script src="https://cdnjs.cloudflare.com/ajax/libs/bootstrap-datetimepicker/4.17.47/js/bootstrap-datetimepicker.min.js"></script>
|
||||
|
||||
<script>
|
||||
$('.changeStatePub').click(function(){
|
||||
|
||||
var pub_id = $(this).data('idpub');
|
||||
var etat = $(this).data('etat');
|
||||
var country_id = $(this).data('countryid');
|
||||
//alert(etat);
|
||||
|
||||
if(etat === ''){
|
||||
$.ajax({
|
||||
url : '<?php echo base_url('index.php/Gestion/addPubRow')?>',
|
||||
type : 'POST',
|
||||
dataType : 'json',
|
||||
data: {"country_id": country_id},
|
||||
success : function(data, statut){
|
||||
if(data=='200'){
|
||||
alert("Les informations ont été mises à jour.") ? "" : location.reload(true);
|
||||
}else{
|
||||
alert("Une erreur s'est produite.");
|
||||
}
|
||||
},
|
||||
|
||||
error : function(resultat, statut, erreur){
|
||||
console.log(resultat+" "+erreur);
|
||||
}
|
||||
});
|
||||
}else{
|
||||
$.ajax({
|
||||
url : '<?php echo base_url('index.php/Gestion/changePubState')?>',
|
||||
type : 'POST',
|
||||
dataType : 'json',
|
||||
data: {"pub_id": pub_id,"etat": etat},
|
||||
success : function(data, statut){
|
||||
if(data=='200'){
|
||||
alert("Les informations ont été mises à jour.") ? "" : location.reload(true);
|
||||
}else{
|
||||
alert("Une erreur s'est produite.");
|
||||
}
|
||||
},
|
||||
|
||||
error : function(resultat, statut, erreur){
|
||||
console.log(resultat+" "+erreur);
|
||||
}
|
||||
});
|
||||
}
|
||||
|
||||
});
|
||||
</script>
|
|
@ -0,0 +1,654 @@
|
|||
|
||||
<link rel="stylesheet" href="<?php echo base_url('bower_components/bootstrap-datepicker/dist/css/bootstrap-datepicker.min.css') ?>">
|
||||
<link rel="stylesheet" href="<?php echo base_url('bower_components/datatables.net-bs/css/dataTables.bootstrap.min.css') ?>">
|
||||
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/bootstrap-multiselect/0.9.15/css/bootstrap-multiselect.css">
|
||||
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/bootstrap-datetimepicker/4.17.47/css/bootstrap-datetimepicker.min.css">
|
||||
<div class="content-wrapper">
|
||||
<!-- Content Header (Page header) -->
|
||||
<style>
|
||||
.name-link
|
||||
{
|
||||
color: white;
|
||||
text-decoration: none;
|
||||
}
|
||||
.form-style{
|
||||
display: block;
|
||||
width: 50%;
|
||||
height: 34px;
|
||||
padding: 6px 12px;
|
||||
font-size: 14px;
|
||||
line-height: 1.42857143;
|
||||
color: #555;
|
||||
background-color: #fff;
|
||||
background-image: none;
|
||||
border: 1px solid #ccc;
|
||||
}
|
||||
.form-group-style {
|
||||
margin-bottom: 15px;
|
||||
width: 50%;
|
||||
}
|
||||
.img-style{
|
||||
width:20%;
|
||||
margin:5%;
|
||||
}
|
||||
.conteneur-img{
|
||||
text-align: center;
|
||||
}
|
||||
.label-radio{
|
||||
font-style:bold;
|
||||
margin-right:30px;
|
||||
color: #444;
|
||||
font-weight: 700;
|
||||
}
|
||||
</style>
|
||||
<section class="content-header">
|
||||
|
||||
<h1>
|
||||
<?php echo $this->lang->line('Rechercher un utilisateur'); ?>
|
||||
</h1>
|
||||
<?php
|
||||
$site_url = base_url();
|
||||
|
||||
if($alert=="ok") {
|
||||
|
||||
if(!$success=="ok"){
|
||||
?>
|
||||
<div class='alert alert-danger alert-dismissible col-xs-6'>
|
||||
<button type='button' class='close' data-dismiss='alert' aria-hidden='true'>×</button>
|
||||
<h4><i class='icon fa fa-ban'></i> Erreur!</h4>
|
||||
<?php echo $message; ?>
|
||||
</div>
|
||||
|
||||
<?php
|
||||
} else {
|
||||
?>
|
||||
<div class="alert alert-success alert-dismissible col-xs-6">
|
||||
<button type="button" class="close" data-dismiss="alert" aria-hidden="true">×</button>
|
||||
<h4><i class="icon fa fa-check"></i> Success!</h4>
|
||||
<?php echo $message; ?>
|
||||
</div>
|
||||
|
||||
<?php
|
||||
}
|
||||
}
|
||||
?>
|
||||
</section>
|
||||
|
||||
<section class="content">
|
||||
<div class="box box-primary">
|
||||
<div class="box-header with-border">
|
||||
</div>
|
||||
<div class="box-body">
|
||||
<form name="form_login" action="<?php echo base_url('index.php/Gestion/get_user') ?>" method="post">
|
||||
<div class="row">
|
||||
<div class="col-sm-3">
|
||||
<div class="form-group">
|
||||
<label>Numéro de téléphone :</label>
|
||||
<div class="input-group date" >
|
||||
<div class="input-group-addon">
|
||||
<i class="glyphicon glyphicon-earphone"></i>
|
||||
</div>
|
||||
<input type="text" class="form-control pull-right" id="phone" name="phone" value="<?php echo $default_phone?>">
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class='col-sm-3'>
|
||||
<div class="form-group">
|
||||
<label>Numéro de transaction :</label>
|
||||
<div class="input-group date" >
|
||||
<div class="input-group-addon">
|
||||
<i class="glyphicon glyphicon-usd"></i>
|
||||
</div>
|
||||
<input type="text" class="form-control pull-right" id="transac" name="transac" value="<?php echo $default_transac?>">
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class='col-sm-3'>
|
||||
<div class="form-group">
|
||||
<label>Code membre :</label>
|
||||
<div class="input-group date">
|
||||
<div class="input-group-addon">
|
||||
<i class="glyphicon glyphicon-user"></i>
|
||||
</div>
|
||||
<input type="text" class="form-control pull-right" id="code" name="code" value="<?php echo $default_code?>">
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class='col-sm-3'>
|
||||
<div class="form-group">
|
||||
<label>Nom :</label>
|
||||
<div class="input-group date">
|
||||
<div class="input-group-addon">
|
||||
<i class="glyphicon glyphicon-user"></i>
|
||||
</div>
|
||||
<input type="text" class="form-control pull-right" id="nom" name="nom" value="<?php echo $default_nom?>">
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="col-sm-4 col-sm-offset-4">
|
||||
<input class="btn btn-primary btn-block" id='search' disabled='disabled' name='b' type='submit' value='<?php echo $this->lang->line('Rechercher'); ?>'/>
|
||||
</div>
|
||||
</div>
|
||||
</form>
|
||||
</div>
|
||||
</div>
|
||||
<div class="box box-primary">
|
||||
<div class="box-header with-border">
|
||||
<?php if($result_search == 1){ ?>
|
||||
|
||||
<h3 class="box-title"><?php echo $num_res.' '.$this->lang->line('utilisateur trouvé'); ?></h3>
|
||||
<div class="box-body">
|
||||
<div class="row">
|
||||
<?php $users = $res_users;
|
||||
if($users!=false){
|
||||
$numrows= $users->num_rows();
|
||||
$num = 0;
|
||||
if ($numrows > 0) {
|
||||
foreach($users->result() as $row) {
|
||||
$num ++;
|
||||
?>
|
||||
|
||||
<div class="col-md-3">
|
||||
<!-- Profile Image -->
|
||||
<div class="box box-primary">
|
||||
<div class="box-body box-profile">
|
||||
<img class="profile-user-img img-responsive img-circle" src="../../dist/img/user-g.png" alt="User profile picture">
|
||||
|
||||
<h3 class="profile-username text-center"><?php echo $row->lastname ?></h3>
|
||||
|
||||
<p class="text-muted text-center"><?php echo $row->category ?></p>
|
||||
|
||||
<ul class="list-group list-group-unbordered">
|
||||
<li class="list-group-item">
|
||||
<b><?php echo $this->lang->line('Reseau'); ?></b> <a class="pull-right"><?php echo $row->network_name ?></a>
|
||||
</li>
|
||||
<li class="list-group-item">
|
||||
<b><?php echo $this->lang->line('code membre'); ?></b> <a class="pull-right"><?php echo $row->code ?></a>
|
||||
</li>
|
||||
<li class="list-group-item">
|
||||
<b><?php echo $this->lang->line('Ville'); ?></b> <a class="pull-right"><?php echo $row->town_name ?></a>
|
||||
</li>
|
||||
<li class="list-group-item">
|
||||
<b><?php echo $this->lang->line('Contact'); ?></b> <a class="pull-right"><?php echo $row->phone ?></a>
|
||||
</li>
|
||||
</ul>
|
||||
|
||||
<a href="#" class="btn btn-primary btn-block" data-toggle="modal" data-target="#infos<?php echo $num; ?>"><b><?php echo $this->lang->line('Voir plus...'); ?></b></a>
|
||||
</div>
|
||||
<!-- /.box-body -->
|
||||
</div>
|
||||
<!-- /.box -->
|
||||
</div>
|
||||
<div class="modal fade" id="infos<?php echo $num; ?>" tabindex="-1" role="dialog" aria-labelledby="infosModalLabel" aria-hidden="true">
|
||||
<div class="modal-dialog" role="document">
|
||||
<div class="modal-content">
|
||||
<div class="modal-header">
|
||||
<h3 class="modal-title"><?php echo $this->lang->line('Informations de l utilisateur'); ?></h3>
|
||||
</div>
|
||||
<div class="modal-body">
|
||||
<form>
|
||||
<div class="form-group">
|
||||
<label for="nom" class="col-form-label"><?php echo $this->lang->line('Nom'); ?></label>
|
||||
<input type="text" class="form-control" id="nom-g<?php echo $num; ?>" name="nom" value="<?php echo $row->lastname ?>">
|
||||
</div>
|
||||
<div class="form-group">
|
||||
<label for="adresse" class="col-form-label"><?php echo $this->lang->line('Adresse'); ?></label>
|
||||
<input class="form-control" id="adresse-g<?php echo $num; ?>" name="adresse-g" value="<?php echo $row->adresse ?>">
|
||||
</div>
|
||||
<div class="form-group">
|
||||
<label for="email" class="col-form-label"><?php echo $this->lang->line('Email'); ?></label>
|
||||
<input class="form-control" id="email-g<?php echo $num; ?>" name="email-g" value="<?php echo $row->email ?>">
|
||||
</div>
|
||||
<div class="form-group col-sm-6">
|
||||
<label for="m-phone" class="col-form-label"><?php echo $this->lang->line('Contact'); ?></label>
|
||||
<input class="form-control" id="phone-g<?php echo $num; ?>" name="phone-g" value="<?php echo $row->phone ?>">
|
||||
</div>
|
||||
<div class="form-group col-sm-6">
|
||||
<label for="m-transac" class="col-form-label"><?php echo $this->lang->line('Numéro de transaction'); ?></label>
|
||||
<input class="form-control" id="transac-g<?php echo $num; ?>" name="transac-g" value="<?php echo $row->transac ?>">
|
||||
</div>
|
||||
<div class="form-group col-sm-6">
|
||||
<label for="code-m" class="col-form-label"><?php echo $this->lang->line('code membre'); ?></label>
|
||||
<input class="form-control" disabled id="code-m" name="code-m" value="<?php echo $row->code ?>">
|
||||
</div>
|
||||
<div class="form-group col-sm-6">
|
||||
<label for="code-p" class="col-form-label"><?php echo $this->lang->line('Code parrain'); ?></label>
|
||||
<input class="form-control" disabled id="code-p" name="code-p" value="<?php echo $row->parrain ?>">
|
||||
</div>
|
||||
<div class="form-group col-sm-6">
|
||||
<label for="category" class="col-form-label"><?php echo $this->lang->line('Catégorie'); ?></label>
|
||||
<input class="form-control" disabled id="category" name="category" value="<?php echo $row->category ?>">
|
||||
</div>
|
||||
<div class="form-group col-sm-6">
|
||||
<label for="date-ins" class="col-form-label"><?php echo $this->lang->line('Date inscription'); ?></label>
|
||||
<input class="form-control" disabled id="date-ins" name="date-ins" value="<?php echo $row->date_created ?>">
|
||||
</div>
|
||||
</form>
|
||||
</div>
|
||||
<div class="modal-footer">
|
||||
<button type="button" class="btn btn-secondary" data-dismiss="modal"><?php echo $this->lang->line('Fermer'); ?></button>
|
||||
<button type="button" class="btn btn-primary valid-infos-g" data-num="<?php echo $num; ?>" data-idnetworkAgent="<?php echo $row->networkAgent_id ?>" data-idUser="<?php echo $row->userID ?>" ><?php echo $this->lang->line('Valider'); ?></button>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<?php
|
||||
}
|
||||
}
|
||||
}
|
||||
?>
|
||||
<?php $simple_users = $res_simple_users;
|
||||
if($simple_users!=null){
|
||||
$numrows= $simple_users->num_rows();
|
||||
$num = 0;
|
||||
if ($numrows > 0) {
|
||||
foreach($simple_users->result() as $row) {
|
||||
$num ++;
|
||||
?>
|
||||
|
||||
<div class="col-md-3">
|
||||
<!-- Profile Image -->
|
||||
<div class="box box-success">
|
||||
<div class="box-body box-profile">
|
||||
<img class="profile-user-img img-responsive img-circle" src="../../dist/img/user-s.png" alt="User profile picture">
|
||||
|
||||
<h3 class="profile-username text-center"><?php echo $row->lastname ?></h3>
|
||||
|
||||
<p class="text-muted text-center"><?php echo $this->lang->line('Utilisateur simple'); ?></p>
|
||||
|
||||
<ul class="list-group list-group-unbordered">
|
||||
<li class="list-group-item">
|
||||
<b><?php echo $this->lang->line('Reseau'); ?></b> <a class="pull-right"><?php echo $row->network ?></a>
|
||||
</li>
|
||||
<li class="list-group-item">
|
||||
<b><?php echo $this->lang->line('Pays'); ?></b> <a class="pull-right"><?php echo $row->country ?></a>
|
||||
</li>
|
||||
<li class="list-group-item">
|
||||
<b><?php echo $this->lang->line('Contact'); ?></b> <a class="pull-right"><?php echo $row->phone ?></a>
|
||||
</li>
|
||||
<li class="list-group-item">
|
||||
<b><?php echo $this->lang->line('Date inscription'); ?></b> <a class="pull-right"><?php echo $row->date_created ?></a>
|
||||
</li>
|
||||
</ul>
|
||||
|
||||
<a href="#" class="btn btn-success btn-block" data-toggle="modal" data-target="#infos-s"><b><?php echo $this->lang->line('Voir plus...'); ?></b></a>
|
||||
</div>
|
||||
<!-- /.box-body -->
|
||||
</div>
|
||||
<!-- /.box -->
|
||||
</div>
|
||||
<div class="modal fade" id="infos-s" data-id="<?php echo $row->id_user; ?>" tabindex="-1" role="dialog" aria-labelledby="infos-s-ModalLabel" aria-hidden="true">
|
||||
<div class="modal-dialog" role="document">
|
||||
<div class="modal-content">
|
||||
<div class="modal-header">
|
||||
<h3 class="modal-title"><?php echo $this->lang->line('Informations de l utilisateur'); ?></h3>
|
||||
</div>
|
||||
<div class="modal-body">
|
||||
<form>
|
||||
<div class="form-group">
|
||||
<label for="nom" class="col-form-label"><?php echo $this->lang->line('Nom'); ?></label>
|
||||
<input type="text" class="form-control" id="nom-s" name="nom" value="<?php echo $row->lastname ?>">
|
||||
</div>
|
||||
<div class="form-group">
|
||||
<label for="adresse" class="col-form-label"><?php echo $this->lang->line('Adresse'); ?></label>
|
||||
<input class="form-control" id="adresse-s" name="adresse" value="<?php echo $row->adresse ?>">
|
||||
</div>
|
||||
<div class="form-group">
|
||||
<label for="email" class="col-form-label"><?php echo $this->lang->line('Email'); ?></label>
|
||||
<input class="form-control" id="email-s" name="email" value="<?php echo $row->email ?>">
|
||||
</div>
|
||||
<div class="form-group">
|
||||
<label for="m-phone" class="col-form-label"><?php echo $this->lang->line('Contact'); ?></label>
|
||||
<input class="form-control" id="phone-s" name="m-phone" value="<?php echo $row->phone ?>">
|
||||
</div>
|
||||
</form>
|
||||
</div>
|
||||
<div class="modal-footer">
|
||||
<button type="button" class="btn btn-secondary" data-dismiss="modal"><?php echo $this->lang->line('Fermer'); ?></button>
|
||||
<button type="button" id="valid-infos-s" class="btn btn-primary"><?php echo $this->lang->line('Valider'); ?></button>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<?php
|
||||
}
|
||||
}
|
||||
}
|
||||
?>
|
||||
</div>
|
||||
</div>
|
||||
<?php }elseif($result_search == 2){ ?>
|
||||
<?php $simple_users = $res_simple_users;
|
||||
if($simple_users!=null){
|
||||
?>
|
||||
<h3 class="box-title"><?php echo $simple_users->num_rows().' '.$this->lang->line('utilisateur trouvé'); ?></h3>
|
||||
<div class="box-body">
|
||||
<div class="row">
|
||||
<?php
|
||||
$numrows= $simple_users->num_rows();
|
||||
$num = 0;
|
||||
if ($numrows > 0) {
|
||||
foreach($simple_users->result() as $row) {
|
||||
$num ++;
|
||||
?>
|
||||
|
||||
<div class="col-md-3">
|
||||
<!-- Profile Image -->
|
||||
<div class="box box-success">
|
||||
<div class="box-body box-profile">
|
||||
<img class="profile-user-img img-responsive img-circle" src="../../dist/img/user-s.png" alt="User profile picture">
|
||||
|
||||
<h3 class="profile-username text-center"><?php echo $row->lastname ?></h3>
|
||||
|
||||
<p class="text-muted text-center"><?php echo $this->lang->line('Utilisateur simple'); ?></p>
|
||||
|
||||
<ul class="list-group list-group-unbordered">
|
||||
<li class="list-group-item">
|
||||
<b><?php echo $this->lang->line('Reseau'); ?></b> <a class="pull-right"><?php echo $row->network ?></a>
|
||||
</li>
|
||||
<li class="list-group-item">
|
||||
<b><?php echo $this->lang->line('Pays'); ?></b> <a class="pull-right"><?php echo $row->country ?></a>
|
||||
</li>
|
||||
<li class="list-group-item">
|
||||
<b><?php echo $this->lang->line('Contact'); ?></b> <a class="pull-right"><?php echo $row->phone ?></a>
|
||||
</li>
|
||||
<li class="list-group-item">
|
||||
<b><?php echo $this->lang->line('Date inscription'); ?></b> <a class="pull-right"><?php echo $row->date_created ?></a>
|
||||
</li>
|
||||
</ul>
|
||||
|
||||
<a href="#" class="btn btn-success btn-block" data-toggle="modal" data-target="#infos-s"><b><?php echo $this->lang->line('Voir plus...'); ?></b></a>
|
||||
</div>
|
||||
<!-- /.box-body -->
|
||||
</div>
|
||||
<!-- /.box -->
|
||||
</div>
|
||||
<div class="modal fade" id="infos-s" data-id="<?php echo $row->id_user; ?>" tabindex="-1" role="dialog" aria-labelledby="infos-s-ModalLabel" aria-hidden="true">
|
||||
<div class="modal-dialog" role="document">
|
||||
<div class="modal-content">
|
||||
<div class="modal-header">
|
||||
<h3 class="modal-title"><?php echo $this->lang->line('Informations de l utilisateur'); ?></h3>
|
||||
</div>
|
||||
<div class="modal-body">
|
||||
<form>
|
||||
<div class="form-group">
|
||||
<label for="nom" class="col-form-label"><?php echo $this->lang->line('Nom'); ?></label>
|
||||
<input type="text" class="form-control" id="nom-s" name="nom" value="<?php echo $row->lastname ?>">
|
||||
</div>
|
||||
<div class="form-group">
|
||||
<label for="adresse" class="col-form-label"><?php echo $this->lang->line('Adresse'); ?></label>
|
||||
<input class="form-control" id="adresse-s" name="adresse" value="<?php echo $row->adresse ?>">
|
||||
</div>
|
||||
<div class="form-group">
|
||||
<label for="email" class="col-form-label"><?php echo $this->lang->line('Email'); ?></label>
|
||||
<input class="form-control" id="email-s" name="email" value="<?php echo $row->email ?>">
|
||||
</div>
|
||||
<div class="form-group">
|
||||
<label for="m-phone" class="col-form-label"><?php echo $this->lang->line('Contact'); ?></label>
|
||||
<input class="form-control" id="phone-s" name="m-phone" value="<?php echo $row->phone ?>">
|
||||
</div>
|
||||
</form>
|
||||
</div>
|
||||
<div class="modal-footer">
|
||||
<button type="button" class="btn btn-secondary" data-dismiss="modal"><?php echo $this->lang->line('Fermer'); ?></button>
|
||||
<button type="button" id="valid-infos-s" class="btn btn-primary"><?php echo $this->lang->line('Valider'); ?></button>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<?php
|
||||
}
|
||||
}
|
||||
?>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<?php
|
||||
}else{
|
||||
?>
|
||||
<h3 class="box-title"><?php echo $this->lang->line('Aucun utilisateur trouvé'); ?></h3>
|
||||
<?php
|
||||
}
|
||||
?>
|
||||
<?php }elseif($result_search == 0){ ?>
|
||||
<div class="conteneur-img">
|
||||
<img class="img-style" src="../../dist/img/search.png" alt="icon search">
|
||||
</div>
|
||||
<?php } ?>
|
||||
</div>
|
||||
</div>
|
||||
</section>
|
||||
</div>
|
||||
|
||||
<!-- jQuery 3 -->
|
||||
<script src="<?php echo base_url('bower_components/jquery/dist/jquery.min.js') ?>"></script>
|
||||
<!-- Bootstrap 3.3.7 -->
|
||||
<script src="<?php echo base_url('bower_components/bootstrap/dist/js/bootstrap.min.js') ?>"></script>
|
||||
<!-- DataTables -->
|
||||
<script src="<?php echo base_url('bower_components/datatables.net/js/jquery.dataTables.min.js') ?>"></script>
|
||||
<script src="<?php echo base_url('bower_components/datatables.net-bs/js/dataTables.bootstrap.min.js') ?>"></script>
|
||||
<!-- Slimscroll -->
|
||||
<script src="<?php echo base_url('bower_components/jquery-slimscroll/jquery.slimscroll.min.js') ?>"></script>
|
||||
<!-- FastClick -->
|
||||
<script src="<?php echo base_url('bower_components/fastclick/lib/fastclick.js') ?>"></script>
|
||||
<!-- AdminLTE App -->
|
||||
<script src="<?php echo base_url('dist/js/adminlte.min.js') ?>"></script>
|
||||
<!-- AdminLTE for demo purposes -->
|
||||
<script src="<?php echo base_url('dist/js/demo.js') ?>"></script>
|
||||
|
||||
<script src="<?php echo base_url('dist/js/demo.js') ?>"></script>
|
||||
|
||||
<script src="<?php echo base_url('bower_components/moment/min/moment.min.js') ?>"></script>
|
||||
<script src="<?php echo base_url('bower_components/bootstrap-daterangepicker/daterangepicker.js') ?>"></script>
|
||||
<script src="<?php echo base_url('bower_components/bootstrap-datepicker/dist/js/bootstrap-datepicker.min.js') ?>"></script>
|
||||
<script src="https://cdnjs.cloudflare.com/ajax/libs/bootstrap-datetimepicker/4.17.47/js/bootstrap-datetimepicker.min.js"></script>
|
||||
|
||||
|
||||
<script type="text/javascript">
|
||||
//Date picker
|
||||
//$('#date-debut').datepicker({autoclose: true,format: 'yyyy-mm-dd'});
|
||||
$("#date-debut").datetimepicker({
|
||||
format:'YYYY-MM-DD HH:mm:ss',
|
||||
locale: moment.locale('fr')
|
||||
});
|
||||
$('#date-fin').datetimepicker({
|
||||
format:'YYYY-MM-DD HH:mm:ss'
|
||||
});
|
||||
|
||||
</script>
|
||||
|
||||
<script>
|
||||
$('#pays').change(function(){
|
||||
var pays = $(this).val();
|
||||
$.ajax({
|
||||
url:'<?php echo base_url('index.php/Gestion/getVilleByPays')?>',
|
||||
type: 'post',
|
||||
data: {pays: pays},
|
||||
dataType: 'json',
|
||||
success: function(list){
|
||||
var len = list.length;
|
||||
|
||||
if(len > 0){
|
||||
|
||||
var select = document.getElementById('ville');
|
||||
$(select).empty();
|
||||
|
||||
for (var i in list) {
|
||||
$(select).append("<option value='" + list[i].id + "'>" + list[i].name +"</option>");
|
||||
}
|
||||
|
||||
var id_ville = list[0].id;
|
||||
|
||||
$.ajax({
|
||||
url:'<?php echo base_url('index.php/Gestion/getAgentByVilles')?>',
|
||||
type: 'post',
|
||||
data: {id_ville: id_ville},
|
||||
dataType: 'json',
|
||||
success: function(list){
|
||||
var len = list.length;
|
||||
|
||||
if(len > 0){
|
||||
|
||||
var select = document.getElementById('agent');
|
||||
|
||||
$(select).empty();
|
||||
|
||||
for (var i in list) {
|
||||
$(select).append("<option value='" + list[i].lastname + "'>" + list[i].lastname +"</option>");
|
||||
}
|
||||
|
||||
|
||||
}else{
|
||||
|
||||
var select = document.getElementById('agent');
|
||||
$(select).empty();
|
||||
|
||||
}
|
||||
|
||||
}
|
||||
});
|
||||
|
||||
|
||||
}else{
|
||||
|
||||
var select = document.getElementById('ville');
|
||||
$(select).empty();
|
||||
|
||||
var select2 = document.getElementById('agent');
|
||||
$(select2).empty();
|
||||
}
|
||||
|
||||
}
|
||||
});
|
||||
});
|
||||
|
||||
$('#ville').change(function(){
|
||||
var ville = $(this).val();
|
||||
$.ajax({
|
||||
url:'<?php echo base_url('index.php/Gestion/getAgentByVilles')?>',
|
||||
type: 'post',
|
||||
data: {id_ville: ville},
|
||||
dataType: 'json',
|
||||
success: function(list){
|
||||
var len = list.length;
|
||||
|
||||
if(len > 0){
|
||||
|
||||
var select = document.getElementById('agent');
|
||||
|
||||
$(select).empty();
|
||||
|
||||
for (var i in list) {
|
||||
$(select).append("<option value='" + list[i].lastname + "'>" + list[i].lastname +"</option>");
|
||||
}
|
||||
|
||||
|
||||
}else{
|
||||
|
||||
var select = document.getElementById('agent');
|
||||
$(select).empty();
|
||||
|
||||
}
|
||||
|
||||
}
|
||||
});
|
||||
});
|
||||
|
||||
$('#phone').change(function(){
|
||||
if($(this).val() !==''){
|
||||
$('#search').prop('disabled', false );
|
||||
}else{
|
||||
if($('#transac').val() =='' && $('#code').val() =='' && $('#nom').val() ==''){
|
||||
$('#search').prop('disabled', true );
|
||||
}
|
||||
}
|
||||
});
|
||||
$('#nom').change(function(){
|
||||
if($(this).val() !==''){
|
||||
$('#search').prop('disabled', false );
|
||||
}else{
|
||||
if($('#transac').val() =='' && $('#code').val() =='' && $('#phone').val() ==''){
|
||||
$('#search').prop('disabled', true );
|
||||
}
|
||||
}
|
||||
});
|
||||
$('#transac').change(function(){
|
||||
if($(this).val() !==''){
|
||||
$('#search').prop('disabled', false );
|
||||
}else{
|
||||
if($('#phone').val() =='' && $('#code').val() =='' && $('#nom').val() ==''){
|
||||
$('#search').prop('disabled', true );
|
||||
}
|
||||
}
|
||||
});
|
||||
$('#code').change(function(){
|
||||
if($(this).val() !==''){
|
||||
$('#search').prop('disabled', false );
|
||||
}else{
|
||||
if($('#transac').val() =='' && $('#phone').val() =='' && $('#nom').val() ==''){
|
||||
$('#search').prop('disabled', true );
|
||||
}
|
||||
}
|
||||
});
|
||||
$('#valid-infos-s').click(function(){
|
||||
|
||||
var user_id = $('#infos-s').data('id');
|
||||
var nom = $('#nom-s').val();
|
||||
var adresse =$('#adresse-s').val();
|
||||
var contact =$('#phone-s').val();
|
||||
var email =$('#email-s').val();
|
||||
|
||||
|
||||
|
||||
$.ajax({
|
||||
url : '<?php echo base_url('index.php/Gestion/update_info_user')?>',
|
||||
type : 'POST',
|
||||
dataType : 'json',
|
||||
data: {"user_id": user_id,"nom": nom, "adresse": adresse, "contact": contact, "email": email},
|
||||
success : function(data, statut){
|
||||
if(data=='200'){
|
||||
alert("Les informations ont été mises à jour.") ? "" : location.reload(true);
|
||||
}else{
|
||||
alert("Une erreur s'est produite.");
|
||||
}
|
||||
},
|
||||
|
||||
error : function(resultat, statut, erreur){
|
||||
console.log(resultat+" "+erreur);
|
||||
}
|
||||
});
|
||||
|
||||
});
|
||||
$('.valid-infos-g').click(function(){
|
||||
|
||||
var num = $(this).attr('data-num');
|
||||
var user_id = $(this).attr('data-idUser');
|
||||
var net_ag_id = $(this).attr('data-idnetworkAgent');
|
||||
var nom = $('#nom-g'+num).val();
|
||||
var adresse =$('#adresse-g'+num).val();
|
||||
var email =$('#email-g'+num).val();
|
||||
var contact =$('#phone-g'+num).val();
|
||||
var transac =$('#transac-g'+num).val();
|
||||
|
||||
$.ajax({
|
||||
url : '<?php echo base_url('index.php/Gestion/update_info_geolocated')?>',
|
||||
type : 'POST',
|
||||
dataType : 'json',
|
||||
data: {"user_id": user_id,"id_netAg": net_ag_id, "nom": nom, "adresse": adresse, "contact": contact, "transac":transac, "email": email},
|
||||
success : function(data, statut){
|
||||
if(data=='200'){
|
||||
alert("Les informations ont été mises à jour.") ? "" : location.reload(true);
|
||||
}else{
|
||||
alert("Une erreur s'est produite.");
|
||||
}
|
||||
},
|
||||
|
||||
error : function(resultat, statut, erreur){
|
||||
alert("Une erreur s'est produite.");
|
||||
console.log(resultat+" "+erreur);
|
||||
}
|
||||
});
|
||||
|
||||
});
|
||||
|
||||
</script>
|
|
@ -1,235 +1,245 @@
|
|||
<?php defined('BASEPATH') OR exit('No direct script access allowed'); ?>
|
||||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
<meta http-equiv="X-UA-Compatible" content="IE=edge">
|
||||
<title>iLink | Dashboard</title>
|
||||
<!-- Tell the browser to be responsive to screen width -->
|
||||
<meta content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no" name="viewport">
|
||||
<!-- Bootstrap 3.3.7 -->
|
||||
<link rel="stylesheet" href="<?php echo base_url('bower_components/bootstrap/dist/css/bootstrap.min.css') ?>">
|
||||
<!-- Font Awesome -->
|
||||
<link rel="stylesheet" href="<?php echo base_url('bower_components/font-awesome/css/font-awesome.min.css') ?>">
|
||||
<!-- Ionicons -->
|
||||
<link rel="stylesheet" href="<?php echo base_url('bower_components/Ionicons/css/ionicons.min.css') ?>">
|
||||
<!-- Theme style -->
|
||||
<link rel="stylesheet" href="<?php echo base_url('dist/css/AdminLTE.css') ?>">
|
||||
<!-- AdminLTE Skins. Choose a skin from the css/skins
|
||||
folder instead of downloading all of them to reduce the load. -->
|
||||
<link rel="stylesheet" href="<?php echo base_url('dist/css/skins/_all-skins.min.css') ?>">
|
||||
<link rel="shortcut icon" href="<?php echo base_url('favicon.ico') ?>" type="image/x-icon">
|
||||
<link rel="icon" href="<?php echo base_url('favicon.ico') ?>" type="image/x-icon">
|
||||
|
||||
<script type="text/javascript" src="https://maps.googleapis.com/maps/api/js?sensor=false"></script>
|
||||
|
||||
<script src="https://oss.maxcdn.com/html5shiv/3.7.3/html5shiv.min.js"></script>
|
||||
<script src="https://oss.maxcdn.com/respond/1.4.2/respond.min.js"></script>
|
||||
<![endif]-->
|
||||
<style media="screen">
|
||||
.img-dash {
|
||||
height: 50px !important;
|
||||
float: left !important;
|
||||
padding: 1% !important;
|
||||
}
|
||||
|
||||
.table_modified {
|
||||
font-size: 11px !important;
|
||||
}
|
||||
|
||||
</style>
|
||||
</head>
|
||||
|
||||
<body class="hold-transition skin-blue sidebar-mini">
|
||||
<div class="wrapper">
|
||||
|
||||
<header class="main-header">
|
||||
<!-- Logo -->
|
||||
<a href="#" class="logo">
|
||||
<!-- mini logo for sidebar mini 50x50 pixels -->
|
||||
<span class="logo-mini"><b>iLink</b></span>
|
||||
<!-- logo for regular state and mobile devices -->
|
||||
<span class="logo-lg">
|
||||
<img class="img img-responsive img-dash" src="<?php echo base_url('images/logo.png') ?>">
|
||||
<b>iLink</b> World
|
||||
</span>
|
||||
</a>
|
||||
<!-- Header Navbar: style can be found in header.less -->
|
||||
<nav class="navbar navbar-static-top">
|
||||
<!-- Sidebar toggle button-->
|
||||
<a href="#" class="sidebar-toggle" data-toggle="push-menu" role="button">
|
||||
<span class="sr-only">Toggle navigation</span>
|
||||
</a>
|
||||
<div class="navbar-custom-menu">
|
||||
<ul class="nav navbar-nav">
|
||||
<!-- User Account: style can be found in dropdown.less -->
|
||||
<li class="dropdown user user-menu">
|
||||
<a href="#" class="dropdown-toggle" data-toggle="dropdown">
|
||||
<?php echo $this->lang->line('Bienvenue'); ?> <span class="hidden-xs"><b><?php echo $this->session->userdata('firstname').' '.$this->session->userdata('lastname');?></b></span>
|
||||
</a>
|
||||
<ul class="dropdown-menu">
|
||||
<!-- User image -->
|
||||
<li class="user-header">
|
||||
<p>
|
||||
<?php echo $this->lang->line('administrateur'); ?>
|
||||
<small><?php echo $this->session->userdata('email');?></small>
|
||||
</p>
|
||||
</li>
|
||||
<!-- Menu Footer-->
|
||||
<li class="user-footer">
|
||||
<div class="pull-left">
|
||||
<a href="<?php echo base_url('index.php/Admin_dash/filter') ?>" class="btn btn-default btn-flat"><?php echo $this->lang->line('Terminer'); ?></a>
|
||||
</div>
|
||||
<div class="pull-right">
|
||||
<a href="<?php echo base_url('index.php/Users/logout') ?>" class="btn btn-default btn-flat"><?php echo $this->lang->line('Déconnexion'); ?></a>
|
||||
</div>
|
||||
</li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
</nav>
|
||||
</header>
|
||||
<!-- Left side column. contains the logo and sidebar -->
|
||||
<aside class="main-sidebar">
|
||||
<!-- sidebar: style can be found in sidebar.less -->
|
||||
<section class="sidebar">
|
||||
<!-- sidebar menu: : style can be found in sidebar.less -->
|
||||
<ul class="sidebar-menu" data-widget="tree">
|
||||
|
||||
<li class="<?php if($active=="villes"){echo "active";} ?>">
|
||||
<a href="<?php echo base_url('index.php/Gestion') ?>">
|
||||
<i class="glyphicon glyphicon-globe"></i> <span><?php echo $this->lang->line('Villes'); ?></span>
|
||||
</a>
|
||||
</li>
|
||||
<li class="<?php if($active=="codes-hyper"){echo "active";} ?>">
|
||||
<a href="<?php echo base_url('index.php/Gestion/codes') ?>">
|
||||
<i class="glyphicon glyphicon-barcode"></i> <span><?php echo $this->lang->line('Codes hyperviseurs'); ?></span>
|
||||
</a>
|
||||
</li>
|
||||
<li class="<?php if($active=="networks"){echo "active";} ?>">
|
||||
<a href="<?php echo base_url('index.php/Gestion/networks') ?>">
|
||||
<i class="glyphicon glyphicon-signal"></i> <span><?php echo $this->lang->line('Reseaux'); ?></span>
|
||||
</a>
|
||||
</li>
|
||||
<li class="<?php if($active=="admin"){echo "active";} ?>">
|
||||
<a href="<?php echo base_url('index.php/Gestion/admin') ?>">
|
||||
<i class="glyphicon glyphicon-user"></i> <span><?php echo $this->lang->line('Administrateurs'); ?></span>
|
||||
</a>
|
||||
</li>
|
||||
<li class="<?php if($active=="geoloc"){echo "active";} ?>">
|
||||
<a href="<?php echo base_url('index.php/Gestion/geolocalisation') ?>">
|
||||
<i class="glyphicon glyphicon-map-marker"></i> <span><?php echo $this->lang->line('Géolocalisation'); ?></span>
|
||||
</a>
|
||||
</li>
|
||||
<li class="<?php if($active=="campagne"){echo "active";} ?>">
|
||||
<a href="<?php echo base_url('index.php/Gestion/campagne') ?>">
|
||||
<i class="glyphicon glyphicon-list-alt"></i> <span><?php echo $this->lang->line('Campagne'); ?></span>
|
||||
</a>
|
||||
</li>
|
||||
<li class="<?php if($active=="game"){echo "active";} ?>">
|
||||
<a href="#" data-toggle="modal" data-target="#modal-default">
|
||||
<i class="glyphicon glyphicon-phone"></i> <span><?php echo $this->lang->line('Game'); ?></span>
|
||||
</a>
|
||||
</li>
|
||||
<li class="<?php if($active=="wallet"){echo "active";} ?>">
|
||||
<a href="#" data-toggle="modal" data-target="#modal-choix-network">
|
||||
<i class="glyphicon glyphicon-credit-card"></i> <span>Wallet<?php //echo $this->lang->line('Game'); ?></span>
|
||||
</a>
|
||||
</li>
|
||||
<!--<li class="<?php //if($active=="map"){echo "active";} ?>">
|
||||
<a href="<?php //echo base_url('index.php/Gestion/map') ?>">
|
||||
<i class="glyphicon glyphicon-map-marker"></i> <span>Carte</span>
|
||||
</a>
|
||||
</li>-->
|
||||
</ul>
|
||||
</section>
|
||||
<!-- /.sidebar -->
|
||||
</aside>
|
||||
|
||||
<div class="modal fade" id="modal-default">
|
||||
<div class="modal-dialog">
|
||||
<div class="modal-content">
|
||||
<form action="<?php echo base_url('index.php/Gestion/game')?>" method="post">
|
||||
<div class="modal-header">
|
||||
<button type="button" class="close" data-dismiss="modal" aria-label="Close">
|
||||
<span aria-hidden="true">×</span>
|
||||
</button>
|
||||
<h4 class="modal-title"><?php echo $this->lang->line('Sélectionnez le pays'); ?></h4>
|
||||
</div>
|
||||
<div class="modal-body">
|
||||
|
||||
<div class="form-group">
|
||||
|
||||
<?php
|
||||
$result=$game_pays;
|
||||
|
||||
$numrows=$result->num_rows();
|
||||
|
||||
if ($numrows > 0) { ?>
|
||||
<select class="form-control input-lg" name="pays" required>
|
||||
<?php foreach($result->result() as $row) {
|
||||
|
||||
echo "<option value=".$row->id.">".$row->name."</option>";
|
||||
} ?>
|
||||
</select>
|
||||
<?php }else{
|
||||
echo "Aucun utilisateur géolocalisé";
|
||||
}
|
||||
?>
|
||||
|
||||
</div>
|
||||
|
||||
</div>
|
||||
<div class="modal-footer">
|
||||
<button type="button" class="btn btn-default pull-left" data-dismiss="modal"><?php echo $this->lang->line('Fermer'); ?></button>
|
||||
<button type="submit" class="btn btn-primary"><?php echo $this->lang->line('Continuer'); ?></button>
|
||||
</div>
|
||||
</form>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="modal fade" id="modal-choix-network">
|
||||
<div class="modal-dialog">
|
||||
<div class="modal-content">
|
||||
<form action="<?php echo base_url('index.php/Gestion/wallet')?>" method="post">
|
||||
<div class="modal-header">
|
||||
<button type="button" class="close" data-dismiss="modal" aria-label="Close">
|
||||
<span aria-hidden="true">×</span>
|
||||
</button>
|
||||
<h4 class="modal-title">Sélectionnez le réseau<?php //echo $this->lang->line('Sélectionnez le pays'); ?></h4>
|
||||
</div>
|
||||
<div class="modal-body">
|
||||
|
||||
<div class="form-group">
|
||||
|
||||
<?php
|
||||
$result=$networks;
|
||||
|
||||
$numrows=$result->num_rows();
|
||||
|
||||
if ($numrows > 0) { ?>
|
||||
<select class="form-control input-lg" name="id" required>
|
||||
<?php foreach($result->result() as $row) {
|
||||
|
||||
echo "<option value=".$row->id.">".$row->name." - ".$row->country."</option>";
|
||||
} ?>
|
||||
</select>
|
||||
<?php }else{
|
||||
echo "Aucun réseau";
|
||||
}
|
||||
?>
|
||||
|
||||
</div>
|
||||
|
||||
</div>
|
||||
<div class="modal-footer">
|
||||
<button type="button" class="btn btn-default pull-left" data-dismiss="modal"><?php echo $this->lang->line('Fermer'); ?></button>
|
||||
<button type="submit" class="btn btn-primary"><?php echo $this->lang->line('Continuer'); ?></button>
|
||||
</div>
|
||||
</form>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
||||
<?php defined('BASEPATH') OR exit('No direct script access allowed'); ?>
|
||||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
<meta http-equiv="X-UA-Compatible" content="IE=edge">
|
||||
<title>iLink | Dashboard</title>
|
||||
<!-- Tell the browser to be responsive to screen width -->
|
||||
<meta content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no" name="viewport">
|
||||
<!-- Bootstrap 3.3.7 -->
|
||||
<link rel="stylesheet" href="<?php echo base_url('bower_components/bootstrap/dist/css/bootstrap.min.css') ?>">
|
||||
<!-- Font Awesome -->
|
||||
<link rel="stylesheet" href="<?php echo base_url('bower_components/font-awesome/css/font-awesome.min.css') ?>">
|
||||
<!-- Ionicons -->
|
||||
<link rel="stylesheet" href="<?php echo base_url('bower_components/Ionicons/css/ionicons.min.css') ?>">
|
||||
<!-- Theme style -->
|
||||
<link rel="stylesheet" href="<?php echo base_url('dist/css/AdminLTE.css') ?>">
|
||||
<!-- AdminLTE Skins. Choose a skin from the css/skins
|
||||
folder instead of downloading all of them to reduce the load. -->
|
||||
<link rel="stylesheet" href="<?php echo base_url('dist/css/skins/_all-skins.min.css') ?>">
|
||||
<link rel="shortcut icon" href="<?php echo base_url('favicon.ico') ?>" type="image/x-icon">
|
||||
<link rel="icon" href="<?php echo base_url('favicon.ico') ?>" type="image/x-icon">
|
||||
|
||||
<script type="text/javascript" src="https://maps.googleapis.com/maps/api/js?sensor=false"></script>
|
||||
|
||||
<script src="https://oss.maxcdn.com/html5shiv/3.7.3/html5shiv.min.js"></script>
|
||||
<script src="https://oss.maxcdn.com/respond/1.4.2/respond.min.js"></script>
|
||||
<![endif]-->
|
||||
<style media="screen">
|
||||
.img-dash {
|
||||
height: 50px !important;
|
||||
float: left !important;
|
||||
padding: 1% !important;
|
||||
}
|
||||
|
||||
.table_modified {
|
||||
font-size: 11px !important;
|
||||
}
|
||||
|
||||
</style>
|
||||
</head>
|
||||
|
||||
<body class="hold-transition skin-blue sidebar-mini">
|
||||
<div class="wrapper">
|
||||
|
||||
<header class="main-header">
|
||||
<!-- Logo -->
|
||||
<a href="#" class="logo">
|
||||
<!-- mini logo for sidebar mini 50x50 pixels -->
|
||||
<span class="logo-mini"><b>iLink</b></span>
|
||||
<!-- logo for regular state and mobile devices -->
|
||||
<span class="logo-lg">
|
||||
<img class="img img-responsive img-dash" src="<?php echo base_url('images/logo.png') ?>">
|
||||
<b>iLink</b> World
|
||||
</span>
|
||||
</a>
|
||||
<!-- Header Navbar: style can be found in header.less -->
|
||||
<nav class="navbar navbar-static-top">
|
||||
<!-- Sidebar toggle button-->
|
||||
<a href="#" class="sidebar-toggle" data-toggle="push-menu" role="button">
|
||||
<span class="sr-only">Toggle navigation</span>
|
||||
</a>
|
||||
<div class="navbar-custom-menu">
|
||||
<ul class="nav navbar-nav">
|
||||
<!-- User Account: style can be found in dropdown.less -->
|
||||
<li class="dropdown user user-menu">
|
||||
<a href="#" class="dropdown-toggle" data-toggle="dropdown">
|
||||
<?php echo $this->lang->line('Bienvenue'); ?> <span class="hidden-xs"><b><?php echo $this->session->userdata('firstname').' '.$this->session->userdata('lastname');?></b></span>
|
||||
</a>
|
||||
<ul class="dropdown-menu">
|
||||
<!-- User image -->
|
||||
<li class="user-header">
|
||||
<p>
|
||||
<?php echo $this->lang->line('administrateur'); ?>
|
||||
<small><?php echo $this->session->userdata('email');?></small>
|
||||
</p>
|
||||
</li>
|
||||
<!-- Menu Footer-->
|
||||
<li class="user-footer">
|
||||
<div class="pull-left">
|
||||
<a href="<?php echo base_url('index.php/Admin_dash/filter') ?>" class="btn btn-default btn-flat"><?php echo $this->lang->line('Terminer'); ?></a>
|
||||
</div>
|
||||
<div class="pull-right">
|
||||
<a href="<?php echo base_url('index.php/Users/logout') ?>" class="btn btn-default btn-flat"><?php echo $this->lang->line('Déconnexion'); ?></a>
|
||||
</div>
|
||||
</li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
</nav>
|
||||
</header>
|
||||
<!-- Left side column. contains the logo and sidebar -->
|
||||
<aside class="main-sidebar">
|
||||
<!-- sidebar: style can be found in sidebar.less -->
|
||||
<section class="sidebar">
|
||||
<!-- sidebar menu: : style can be found in sidebar.less -->
|
||||
<ul class="sidebar-menu" data-widget="tree">
|
||||
|
||||
<li class="<?php if($active=="villes"){echo "active";} ?>">
|
||||
<a href="<?php echo base_url('index.php/Gestion') ?>">
|
||||
<i class="glyphicon glyphicon-globe"></i> <span><?php echo $this->lang->line('Villes'); ?></span>
|
||||
</a>
|
||||
</li>
|
||||
<li class="<?php if($active=="codes-hyper"){echo "active";} ?>">
|
||||
<a href="<?php echo base_url('index.php/Gestion/codes') ?>">
|
||||
<i class="glyphicon glyphicon-barcode"></i> <span><?php echo $this->lang->line('Codes hyperviseurs'); ?></span>
|
||||
</a>
|
||||
</li>
|
||||
<li class="<?php if($active=="networks"){echo "active";} ?>">
|
||||
<a href="<?php echo base_url('index.php/Gestion/networks') ?>">
|
||||
<i class="glyphicon glyphicon-signal"></i> <span><?php echo $this->lang->line('Reseaux'); ?></span>
|
||||
</a>
|
||||
</li>
|
||||
<li class="<?php if($active=="admin"){echo "active";} ?>">
|
||||
<a href="<?php echo base_url('index.php/Gestion/admin') ?>">
|
||||
<i class="glyphicon glyphicon-user"></i> <span><?php echo $this->lang->line('Administrateurs'); ?></span>
|
||||
</a>
|
||||
</li>
|
||||
<li class="<?php if($active=="geoloc"){echo "active";} ?>">
|
||||
<a href="<?php echo base_url('index.php/Gestion/geolocalisation') ?>">
|
||||
<i class="glyphicon glyphicon-map-marker"></i> <span><?php echo $this->lang->line('Géolocalisation'); ?></span>
|
||||
</a>
|
||||
</li>
|
||||
<li class="<?php if($active=="campagne"){echo "active";} ?>">
|
||||
<a href="<?php echo base_url('index.php/Gestion/campagne') ?>">
|
||||
<i class="glyphicon glyphicon-list-alt"></i> <span><?php echo $this->lang->line('Campagne'); ?></span>
|
||||
</a>
|
||||
</li>
|
||||
<li class="<?php if($active=="recherche"){echo "active";} ?>">
|
||||
<a href="<?php echo base_url('index.php/Gestion/recherche') ?>">
|
||||
<i class="glyphicon glyphicon-search"></i> <span><?php echo $this->lang->line('Rechercher'); ?></span>
|
||||
</a>
|
||||
</li>
|
||||
<li class="<?php if($active=="pub"){echo "active";} ?>">
|
||||
<a href="<?php echo base_url('index.php/Gestion/pub') ?>">
|
||||
<i class="glyphicon glyphicon-tags"></i> <span><?php echo $this->lang->line('Publicité'); ?></span>
|
||||
</a>
|
||||
</li>
|
||||
<li class="<?php if($active=="game"){echo "active";} ?>">
|
||||
<a href="#" data-toggle="modal" data-target="#modal-default">
|
||||
<i class="glyphicon glyphicon-phone"></i> <span><?php echo $this->lang->line('Game'); ?></span>
|
||||
</a>
|
||||
</li>
|
||||
<li class="<?php if($active=="wallet"){echo "active";} ?>">
|
||||
<a href="#" data-toggle="modal" data-target="#modal-choix-network">
|
||||
<i class="glyphicon glyphicon-credit-card"></i> <span>Wallet<?php //echo $this->lang->line('Game'); ?></span>
|
||||
</a>
|
||||
</li>
|
||||
<!--<li class="<?php //if($active=="map"){echo "active";} ?>">
|
||||
<a href="<?php //echo base_url('index.php/Gestion/map') ?>">
|
||||
<i class="glyphicon glyphicon-map-marker"></i> <span>Carte</span>
|
||||
</a>
|
||||
</li>-->
|
||||
</ul>
|
||||
</section>
|
||||
<!-- /.sidebar -->
|
||||
</aside>
|
||||
|
||||
<div class="modal fade" id="modal-default">
|
||||
<div class="modal-dialog">
|
||||
<div class="modal-content">
|
||||
<form action="<?php echo base_url('index.php/Gestion/game')?>" method="post">
|
||||
<div class="modal-header">
|
||||
<button type="button" class="close" data-dismiss="modal" aria-label="Close">
|
||||
<span aria-hidden="true">×</span>
|
||||
</button>
|
||||
<h4 class="modal-title"><?php echo $this->lang->line('Sélectionnez le pays'); ?></h4>
|
||||
</div>
|
||||
<div class="modal-body">
|
||||
|
||||
<div class="form-group">
|
||||
|
||||
<?php
|
||||
$result=$game_pays;
|
||||
|
||||
$numrows=$result->num_rows();
|
||||
|
||||
if ($numrows > 0) { ?>
|
||||
<select class="form-control input-lg" name="pays" required>
|
||||
<?php foreach($result->result() as $row) {
|
||||
|
||||
echo "<option value=".$row->id.">".$row->name."</option>";
|
||||
} ?>
|
||||
</select>
|
||||
<?php }else{
|
||||
echo "Aucun utilisateur géolocalisé";
|
||||
}
|
||||
?>
|
||||
|
||||
</div>
|
||||
|
||||
</div>
|
||||
<div class="modal-footer">
|
||||
<button type="button" class="btn btn-default pull-left" data-dismiss="modal"><?php echo $this->lang->line('Fermer'); ?></button>
|
||||
<button type="submit" class="btn btn-primary"><?php echo $this->lang->line('Continuer'); ?></button>
|
||||
</div>
|
||||
</form>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="modal fade" id="modal-choix-network">
|
||||
<div class="modal-dialog">
|
||||
<div class="modal-content">
|
||||
<form action="<?php echo base_url('index.php/Gestion/wallet')?>" method="post">
|
||||
<div class="modal-header">
|
||||
<button type="button" class="close" data-dismiss="modal" aria-label="Close">
|
||||
<span aria-hidden="true">×</span>
|
||||
</button>
|
||||
<h4 class="modal-title">Sélectionnez le réseau<?php //echo $this->lang->line('Sélectionnez le pays'); ?></h4>
|
||||
</div>
|
||||
<div class="modal-body">
|
||||
|
||||
<div class="form-group">
|
||||
|
||||
<?php
|
||||
$result=$networks;
|
||||
|
||||
$numrows=$result->num_rows();
|
||||
|
||||
if ($numrows > 0) { ?>
|
||||
<select class="form-control input-lg" name="id" required>
|
||||
<?php foreach($result->result() as $row) {
|
||||
|
||||
echo "<option value=".$row->id.">".$row->name." - ".$row->country."</option>";
|
||||
} ?>
|
||||
</select>
|
||||
<?php }else{
|
||||
echo "Aucun réseau";
|
||||
}
|
||||
?>
|
||||
|
||||
</div>
|
||||
|
||||
</div>
|
||||
<div class="modal-footer">
|
||||
<button type="button" class="btn btn-default pull-left" data-dismiss="modal"><?php echo $this->lang->line('Fermer'); ?></button>
|
||||
<button type="submit" class="btn btn-primary"><?php echo $this->lang->line('Continuer'); ?></button>
|
||||
</div>
|
||||
</form>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
||||
|
|
|
@ -63,13 +63,17 @@
|
|||
<form action="<?php echo base_url('index.php/login_user') ?>" method="post" class="bottom-75">
|
||||
<div class="table-form">
|
||||
<div class="form-groups">
|
||||
<div class="form-group has-feedback">
|
||||
<div class="input-group date" style="margin-bottom : 10px;">
|
||||
<input name="user_mail" id="user_mail" type="text" class="form-control input-lg" placeholder="<?php echo $this->lang->line('identifiant'); ?>" required>
|
||||
<span class="glyphicon glyphicon-user form-control-feedback"></span>
|
||||
<div class="input-group-addon" style="border-color: #0A639C; background-color: #0A639C; color: #fff;">
|
||||
<i class="glyphicon glyphicon-user"></i>
|
||||
</div>
|
||||
</div>
|
||||
<div class="form-group has-feedback">
|
||||
<div class="input-group date">
|
||||
<input type="password" name="user_password" id="user_password" class="form-control input-lg" placeholder="<?php echo $this->lang->line('mot de passe'); ?>" required>
|
||||
<span class="glyphicon glyphicon-lock form-control-feedback"></span>
|
||||
<div id='div-eyes' class="input-group-addon" style="border-color: #0A639C; background-color: #0A639C; color: #fff;">
|
||||
<i id='eyes' class="glyphicon glyphicon-eye-close"></i>
|
||||
</div>
|
||||
</div>
|
||||
<div class="form-group">
|
||||
<select class="form-control input-lg" name="user_role" required>
|
||||
|
|
|
@ -1,66 +1,66 @@
|
|||
#flipbook{
|
||||
position: absolute;
|
||||
margin-left: auto;
|
||||
margin-right: auto;
|
||||
width:1190px;
|
||||
height:841px;
|
||||
}
|
||||
|
||||
#flipbook .page{
|
||||
margin-left: 0;
|
||||
margin-right: 0;
|
||||
width:1190px;
|
||||
height:841px;
|
||||
background-color:white;
|
||||
/*line-height:300px;*/
|
||||
font-size:20px;
|
||||
text-align:center;
|
||||
}
|
||||
|
||||
#flipbook .page-wrapper{
|
||||
-webkit-perspective:2000px;
|
||||
-moz-perspective:2000px;
|
||||
-ms-perspective:2000px;
|
||||
-o-perspective:2000px;
|
||||
perspective:2000px;
|
||||
}
|
||||
|
||||
#flipbook .hard{
|
||||
background:#ccc !important;
|
||||
color:#333;
|
||||
-webkit-box-shadow:inset 0 0 5px #666;
|
||||
-moz-box-shadow:inset 0 0 5px #666;
|
||||
-o-box-shadow:inset 0 0 5px #666;
|
||||
-ms-box-shadow:inset 0 0 5px #666;
|
||||
box-shadow:inset 0 0 5px #666;
|
||||
font-weight:bold;
|
||||
}
|
||||
|
||||
#flipbook .odd{
|
||||
background:-webkit-gradient(linear, right top, left top, color-stop(0.95, #FFF), color-stop(1, #DADADA));
|
||||
background-image:-webkit-linear-gradient(right, #FFF 95%, #C4C4C4 100%);
|
||||
background-image:-moz-linear-gradient(right, #FFF 95%, #C4C4C4 100%);
|
||||
background-image:-ms-linear-gradient(right, #FFF 95%, #C4C4C4 100%);
|
||||
background-image:-o-linear-gradient(right, #FFF 95%, #C4C4C4 100%);
|
||||
background-image:linear-gradient(right, #FFF 95%, #C4C4C4 100%);
|
||||
-webkit-box-shadow:inset 0 0 5px #666;
|
||||
-moz-box-shadow:inset 0 0 5px #666;
|
||||
-o-box-shadow:inset 0 0 5px #666;
|
||||
-ms-box-shadow:inset 0 0 5px #666;
|
||||
box-shadow:inset 0 0 5px #666;
|
||||
|
||||
}
|
||||
|
||||
#flipbook .even{
|
||||
background:-webkit-gradient(linear, left top, right top, color-stop(0.95, #fff), color-stop(1, #dadada));
|
||||
background-image:-webkit-linear-gradient(left, #fff 95%, #dadada 100%);
|
||||
background-image:-moz-linear-gradient(left, #fff 95%, #dadada 100%);
|
||||
background-image:-ms-linear-gradient(left, #fff 95%, #dadada 100%);
|
||||
background-image:-o-linear-gradient(left, #fff 95%, #dadada 100%);
|
||||
background-image:linear-gradient(left, #fff 95%, #dadada 100%);
|
||||
-webkit-box-shadow:inset 0 0 5px #666;
|
||||
-moz-box-shadow:inset 0 0 5px #666;
|
||||
-o-box-shadow:inset 0 0 5px #666;
|
||||
-ms-box-shadow:inset 0 0 5px #666;
|
||||
box-shadow:inset 0 0 5px #666;
|
||||
#flipbook{
|
||||
position: absolute;
|
||||
margin-left: auto;
|
||||
margin-right: auto;
|
||||
width:1190px;
|
||||
height:841px;
|
||||
}
|
||||
|
||||
#flipbook .page{
|
||||
margin-left: 0;
|
||||
margin-right: 0;
|
||||
width:1190px;
|
||||
height:841px;
|
||||
background-color:white;
|
||||
/*line-height:300px;*/
|
||||
font-size:20px;
|
||||
text-align:center;
|
||||
}
|
||||
|
||||
#flipbook .page-wrapper{
|
||||
-webkit-perspective:2000px;
|
||||
-moz-perspective:2000px;
|
||||
-ms-perspective:2000px;
|
||||
-o-perspective:2000px;
|
||||
perspective:2000px;
|
||||
}
|
||||
|
||||
#flipbook .hard{
|
||||
background:#ccc !important;
|
||||
color:#333;
|
||||
-webkit-box-shadow:inset 0 0 5px #666;
|
||||
-moz-box-shadow:inset 0 0 5px #666;
|
||||
-o-box-shadow:inset 0 0 5px #666;
|
||||
-ms-box-shadow:inset 0 0 5px #666;
|
||||
box-shadow:inset 0 0 5px #666;
|
||||
font-weight:bold;
|
||||
}
|
||||
|
||||
#flipbook .odd{
|
||||
background:-webkit-gradient(linear, right top, left top, color-stop(0.95, #FFF), color-stop(1, #DADADA));
|
||||
background-image:-webkit-linear-gradient(right, #FFF 95%, #C4C4C4 100%);
|
||||
background-image:-moz-linear-gradient(right, #FFF 95%, #C4C4C4 100%);
|
||||
background-image:-ms-linear-gradient(right, #FFF 95%, #C4C4C4 100%);
|
||||
background-image:-o-linear-gradient(right, #FFF 95%, #C4C4C4 100%);
|
||||
background-image:linear-gradient(right, #FFF 95%, #C4C4C4 100%);
|
||||
-webkit-box-shadow:inset 0 0 5px #666;
|
||||
-moz-box-shadow:inset 0 0 5px #666;
|
||||
-o-box-shadow:inset 0 0 5px #666;
|
||||
-ms-box-shadow:inset 0 0 5px #666;
|
||||
box-shadow:inset 0 0 5px #666;
|
||||
|
||||
}
|
||||
|
||||
#flipbook .even{
|
||||
background:-webkit-gradient(linear, left top, right top, color-stop(0.95, #fff), color-stop(1, #dadada));
|
||||
background-image:-webkit-linear-gradient(left, #fff 95%, #dadada 100%);
|
||||
background-image:-moz-linear-gradient(left, #fff 95%, #dadada 100%);
|
||||
background-image:-ms-linear-gradient(left, #fff 95%, #dadada 100%);
|
||||
background-image:-o-linear-gradient(left, #fff 95%, #dadada 100%);
|
||||
background-image:linear-gradient(left, #fff 95%, #dadada 100%);
|
||||
-webkit-box-shadow:inset 0 0 5px #666;
|
||||
-moz-box-shadow:inset 0 0 5px #666;
|
||||
-o-box-shadow:inset 0 0 5px #666;
|
||||
-ms-box-shadow:inset 0 0 5px #666;
|
||||
box-shadow:inset 0 0 5px #666;
|
||||
}
|
Before Width: | Height: | Size: 7.9 KiB After Width: | Height: | Size: 7.9 KiB |
Before Width: | Height: | Size: 13 KiB After Width: | Height: | Size: 13 KiB |
Before Width: | Height: | Size: 8.1 KiB After Width: | Height: | Size: 8.1 KiB |
Before Width: | Height: | Size: 9.0 KiB After Width: | Height: | Size: 9.0 KiB |
Before Width: | Height: | Size: 7.4 KiB After Width: | Height: | Size: 7.4 KiB |
Before Width: | Height: | Size: 121 KiB After Width: | Height: | Size: 121 KiB |
Before Width: | Height: | Size: 43 KiB After Width: | Height: | Size: 43 KiB |
After Width: | Height: | Size: 5.6 KiB |
Before Width: | Height: | Size: 2.1 KiB After Width: | Height: | Size: 2.1 KiB |
Before Width: | Height: | Size: 1.5 KiB After Width: | Height: | Size: 1.5 KiB |
Before Width: | Height: | Size: 1.6 KiB After Width: | Height: | Size: 1.6 KiB |
Before Width: | Height: | Size: 1.5 KiB After Width: | Height: | Size: 1.5 KiB |
Before Width: | Height: | Size: 2.0 KiB After Width: | Height: | Size: 2.0 KiB |
Before Width: | Height: | Size: 1.2 KiB After Width: | Height: | Size: 1.2 KiB |
Before Width: | Height: | Size: 1.0 KiB After Width: | Height: | Size: 1.0 KiB |
Before Width: | Height: | Size: 184 B After Width: | Height: | Size: 184 B |
Before Width: | Height: | Size: 1.1 KiB After Width: | Height: | Size: 1.1 KiB |
Before Width: | Height: | Size: 32 KiB After Width: | Height: | Size: 32 KiB |
Before Width: | Height: | Size: 656 KiB After Width: | Height: | Size: 656 KiB |
Before Width: | Height: | Size: 412 KiB After Width: | Height: | Size: 412 KiB |
Before Width: | Height: | Size: 383 KiB After Width: | Height: | Size: 383 KiB |
Before Width: | Height: | Size: 1.1 MiB After Width: | Height: | Size: 1.1 MiB |
After Width: | Height: | Size: 9.0 KiB |
After Width: | Height: | Size: 19 KiB |
After Width: | Height: | Size: 19 KiB |
Before Width: | Height: | Size: 2.8 KiB After Width: | Height: | Size: 2.8 KiB |
Before Width: | Height: | Size: 6.9 KiB After Width: | Height: | Size: 6.9 KiB |
Before Width: | Height: | Size: 3.4 KiB After Width: | Height: | Size: 3.4 KiB |
Before Width: | Height: | Size: 3.4 KiB After Width: | Height: | Size: 3.4 KiB |
Before Width: | Height: | Size: 6.3 KiB After Width: | Height: | Size: 6.3 KiB |
Before Width: | Height: | Size: 4.2 KiB After Width: | Height: | Size: 4.2 KiB |
Before Width: | Height: | Size: 6.3 KiB After Width: | Height: | Size: 6.3 KiB |
Before Width: | Height: | Size: 4.9 KiB After Width: | Height: | Size: 4.9 KiB |
|
@ -1,132 +1,132 @@
|
|||
$(function () {
|
||||
|
||||
//-------------
|
||||
//- BAR CHART -
|
||||
//-------------
|
||||
var barChartCanvas = $('#barChart').get(0).getContext('2d');
|
||||
var barChart = new Chart(barChartCanvas);
|
||||
var barChartData = areaChartData;
|
||||
barChartData.datasets[1].fillColor = '#00bbff';
|
||||
barChartData.datasets[1].strokeColor = '#00bbff';
|
||||
barChartData.datasets[1].pointColor = '#00bbff';
|
||||
var barChartOptions = {
|
||||
//Boolean - Whether the scale should start at zero, or an order of magnitude down from the lowest value
|
||||
scaleBeginAtZero : true,
|
||||
//Boolean - Whether grid lines are shown across the chart
|
||||
scaleShowGridLines : true,
|
||||
//String - Colour of the grid lines
|
||||
scaleGridLineColor : 'rgba(0,0,0,.05)',
|
||||
//Number - Width of the grid lines
|
||||
scaleGridLineWidth : 1,
|
||||
//Boolean - Whether to show horizontal lines (except X axis)
|
||||
scaleShowHorizontalLines: true,
|
||||
//Boolean - Whether to show vertical lines (except Y axis)
|
||||
scaleShowVerticalLines : true,
|
||||
//Boolean - If there is a stroke on each bar
|
||||
barShowStroke : true,
|
||||
//Number - Pixel width of the bar stroke
|
||||
barStrokeWidth : 2,
|
||||
//Number - Spacing between each of the X value sets
|
||||
barValueSpacing : 5,
|
||||
//Number - Spacing between data sets within X values
|
||||
barDatasetSpacing : 1,
|
||||
//String - A legend template
|
||||
legendTemplate : '<ul class="<%=name.toLowerCase()%>-legend"><% for (var i=0; i<datasets.length; i++){%><li><span style="background-color:<%=datasets[i].fillColor%>"></span><%if(datasets[i].label){%><%=datasets[i].label%><%}%></li><%}%></ul>',
|
||||
//Boolean - whether to make the chart responsive
|
||||
responsive : true,
|
||||
maintainAspectRatio : true
|
||||
};
|
||||
|
||||
barChartOptions.datasetFill = false;
|
||||
barChart.Bar(barChartData, barChartOptions);
|
||||
|
||||
|
||||
|
||||
//-------------
|
||||
//- PIE CHART -
|
||||
//-------------
|
||||
// Get context with jQuery - using jQuery's .get() method.
|
||||
var pieChartCanvas = $('#pieChart').get(0).getContext('2d');
|
||||
var pieChart = new Chart(pieChartCanvas);
|
||||
|
||||
var pieOptions = {
|
||||
//Boolean - Whether we should show a stroke on each segment
|
||||
segmentShowStroke : true,
|
||||
//String - The colour of each segment stroke
|
||||
segmentStrokeColor : '#fff',
|
||||
//Number - The width of each segment stroke
|
||||
segmentStrokeWidth : 2,
|
||||
//Number - The percentage of the chart that we cut out of the middle
|
||||
percentageInnerCutout: 50, // This is 0 for Pie charts
|
||||
//Number - Amount of animation steps
|
||||
animationSteps : 100,
|
||||
//String - Animation easing effect
|
||||
animationEasing : 'easeOutBounce',
|
||||
//Boolean - Whether we animate the rotation of the Doughnut
|
||||
animateRotate : true,
|
||||
//Boolean - Whether we animate scaling the Doughnut from the centre
|
||||
animateScale : false,
|
||||
//Boolean - whether to make the chart responsive to window resizing
|
||||
responsive : true,
|
||||
// Boolean - whether to maintain the starting aspect ratio or not when responsive, if set to false, will take up entire container
|
||||
maintainAspectRatio : true,
|
||||
//String - A legend template
|
||||
legendTemplate : '<ul class="<%=name.toLowerCase()%>-legend"><% for (var i=0; i<segments.length; i++){%><li><span style="background-color:<%=segments[i].fillColor%>"></span><%if(segments[i].label){%><%=segments[i].label%><%}%></li><%}%></ul>'
|
||||
};
|
||||
//Create pie or douhnut chart
|
||||
// You can switch between pie and douhnut using the method below.
|
||||
pieChart.Doughnut(Pie, pieOptions);
|
||||
|
||||
//-------------
|
||||
//- PIE CHART -
|
||||
//-------------
|
||||
// Get context with jQuery - using jQuery's .get() method.
|
||||
var pieChartCanvas2 = $('#pieChart2').get(0).getContext('2d');
|
||||
var pieChart2 = new Chart(pieChartCanvas2);
|
||||
|
||||
var pieOptions2 = {
|
||||
//Boolean - Whether we should show a stroke on each segment
|
||||
segmentShowStroke : true,
|
||||
//String - The colour of each segment stroke
|
||||
segmentStrokeColor : '#fff',
|
||||
//Number - The width of each segment stroke
|
||||
segmentStrokeWidth : 2,
|
||||
//Number - The percentage of the chart that we cut out of the middle
|
||||
percentageInnerCutout: 50, // This is 0 for Pie charts
|
||||
//Number - Amount of animation steps
|
||||
animationSteps : 100,
|
||||
//String - Animation easing effect
|
||||
animationEasing : 'easeOutBounce',
|
||||
//Boolean - Whether we animate the rotation of the Doughnut
|
||||
animateRotate : true,
|
||||
//Boolean - Whether we animate scaling the Doughnut from the centre
|
||||
animateScale : false,
|
||||
//Boolean - whether to make the chart responsive to window resizing
|
||||
responsive : true,
|
||||
// Boolean - whether to maintain the starting aspect ratio or not when responsive, if set to false, will take up entire container
|
||||
maintainAspectRatio : true,
|
||||
//String - A legend template
|
||||
legendTemplate : '<ul class="<%=name.toLowerCase()%>-legend"><% for (var i=0; i<segments.length; i++){%><li><span style="background-color:<%=segments[i].fillColor%>"></span><%if(segments[i].label){%><%=segments[i].label%><%}%></li><%}%></ul>'
|
||||
};
|
||||
//Create pie or douhnut chart
|
||||
// You can switch between pie and douhnut using the method below.
|
||||
pieChart2.Doughnut(Pie2, pieOptions2);
|
||||
console.log(geocodeposition(52.5487429714954,-1.81602098644987));
|
||||
|
||||
|
||||
|
||||
|
||||
});
|
||||
|
||||
function geocodeposition(lat, lng){
|
||||
var city;
|
||||
var url = "https://nominatim.openstreetmap.org/reverse?format=json&lat="+lat+"&lon="+lng+"&zoom=18&addressdetails=1";
|
||||
|
||||
$.getJSON(url, function( data ) {
|
||||
//console.log(data.address.city);
|
||||
city = data.address.city;
|
||||
});
|
||||
|
||||
return city;
|
||||
|
||||
}
|
||||
$(function () {
|
||||
|
||||
//-------------
|
||||
//- BAR CHART -
|
||||
//-------------
|
||||
var barChartCanvas = $('#barChart').get(0).getContext('2d');
|
||||
var barChart = new Chart(barChartCanvas);
|
||||
var barChartData = areaChartData;
|
||||
barChartData.datasets[1].fillColor = '#00bbff';
|
||||
barChartData.datasets[1].strokeColor = '#00bbff';
|
||||
barChartData.datasets[1].pointColor = '#00bbff';
|
||||
var barChartOptions = {
|
||||
//Boolean - Whether the scale should start at zero, or an order of magnitude down from the lowest value
|
||||
scaleBeginAtZero : true,
|
||||
//Boolean - Whether grid lines are shown across the chart
|
||||
scaleShowGridLines : true,
|
||||
//String - Colour of the grid lines
|
||||
scaleGridLineColor : 'rgba(0,0,0,.05)',
|
||||
//Number - Width of the grid lines
|
||||
scaleGridLineWidth : 1,
|
||||
//Boolean - Whether to show horizontal lines (except X axis)
|
||||
scaleShowHorizontalLines: true,
|
||||
//Boolean - Whether to show vertical lines (except Y axis)
|
||||
scaleShowVerticalLines : true,
|
||||
//Boolean - If there is a stroke on each bar
|
||||
barShowStroke : true,
|
||||
//Number - Pixel width of the bar stroke
|
||||
barStrokeWidth : 2,
|
||||
//Number - Spacing between each of the X value sets
|
||||
barValueSpacing : 5,
|
||||
//Number - Spacing between data sets within X values
|
||||
barDatasetSpacing : 1,
|
||||
//String - A legend template
|
||||
legendTemplate : '<ul class="<%=name.toLowerCase()%>-legend"><% for (var i=0; i<datasets.length; i++){%><li><span style="background-color:<%=datasets[i].fillColor%>"></span><%if(datasets[i].label){%><%=datasets[i].label%><%}%></li><%}%></ul>',
|
||||
//Boolean - whether to make the chart responsive
|
||||
responsive : true,
|
||||
maintainAspectRatio : true
|
||||
};
|
||||
|
||||
barChartOptions.datasetFill = false;
|
||||
barChart.Bar(barChartData, barChartOptions);
|
||||
|
||||
|
||||
|
||||
//-------------
|
||||
//- PIE CHART -
|
||||
//-------------
|
||||
// Get context with jQuery - using jQuery's .get() method.
|
||||
var pieChartCanvas = $('#pieChart').get(0).getContext('2d');
|
||||
var pieChart = new Chart(pieChartCanvas);
|
||||
|
||||
var pieOptions = {
|
||||
//Boolean - Whether we should show a stroke on each segment
|
||||
segmentShowStroke : true,
|
||||
//String - The colour of each segment stroke
|
||||
segmentStrokeColor : '#fff',
|
||||
//Number - The width of each segment stroke
|
||||
segmentStrokeWidth : 2,
|
||||
//Number - The percentage of the chart that we cut out of the middle
|
||||
percentageInnerCutout: 50, // This is 0 for Pie charts
|
||||
//Number - Amount of animation steps
|
||||
animationSteps : 100,
|
||||
//String - Animation easing effect
|
||||
animationEasing : 'easeOutBounce',
|
||||
//Boolean - Whether we animate the rotation of the Doughnut
|
||||
animateRotate : true,
|
||||
//Boolean - Whether we animate scaling the Doughnut from the centre
|
||||
animateScale : false,
|
||||
//Boolean - whether to make the chart responsive to window resizing
|
||||
responsive : true,
|
||||
// Boolean - whether to maintain the starting aspect ratio or not when responsive, if set to false, will take up entire container
|
||||
maintainAspectRatio : true,
|
||||
//String - A legend template
|
||||
legendTemplate : '<ul class="<%=name.toLowerCase()%>-legend"><% for (var i=0; i<segments.length; i++){%><li><span style="background-color:<%=segments[i].fillColor%>"></span><%if(segments[i].label){%><%=segments[i].label%><%}%></li><%}%></ul>'
|
||||
};
|
||||
//Create pie or douhnut chart
|
||||
// You can switch between pie and douhnut using the method below.
|
||||
pieChart.Doughnut(Pie, pieOptions);
|
||||
|
||||
//-------------
|
||||
//- PIE CHART -
|
||||
//-------------
|
||||
// Get context with jQuery - using jQuery's .get() method.
|
||||
var pieChartCanvas2 = $('#pieChart2').get(0).getContext('2d');
|
||||
var pieChart2 = new Chart(pieChartCanvas2);
|
||||
|
||||
var pieOptions2 = {
|
||||
//Boolean - Whether we should show a stroke on each segment
|
||||
segmentShowStroke : true,
|
||||
//String - The colour of each segment stroke
|
||||
segmentStrokeColor : '#fff',
|
||||
//Number - The width of each segment stroke
|
||||
segmentStrokeWidth : 2,
|
||||
//Number - The percentage of the chart that we cut out of the middle
|
||||
percentageInnerCutout: 50, // This is 0 for Pie charts
|
||||
//Number - Amount of animation steps
|
||||
animationSteps : 100,
|
||||
//String - Animation easing effect
|
||||
animationEasing : 'easeOutBounce',
|
||||
//Boolean - Whether we animate the rotation of the Doughnut
|
||||
animateRotate : true,
|
||||
//Boolean - Whether we animate scaling the Doughnut from the centre
|
||||
animateScale : false,
|
||||
//Boolean - whether to make the chart responsive to window resizing
|
||||
responsive : true,
|
||||
// Boolean - whether to maintain the starting aspect ratio or not when responsive, if set to false, will take up entire container
|
||||
maintainAspectRatio : true,
|
||||
//String - A legend template
|
||||
legendTemplate : '<ul class="<%=name.toLowerCase()%>-legend"><% for (var i=0; i<segments.length; i++){%><li><span style="background-color:<%=segments[i].fillColor%>"></span><%if(segments[i].label){%><%=segments[i].label%><%}%></li><%}%></ul>'
|
||||
};
|
||||
//Create pie or douhnut chart
|
||||
// You can switch between pie and douhnut using the method below.
|
||||
pieChart2.Doughnut(Pie2, pieOptions2);
|
||||
console.log(geocodeposition(52.5487429714954,-1.81602098644987));
|
||||
|
||||
|
||||
|
||||
|
||||
});
|
||||
|
||||
function geocodeposition(lat, lng){
|
||||
var city;
|
||||
var url = "https://nominatim.openstreetmap.org/reverse?format=json&lat="+lat+"&lon="+lng+"&zoom=18&addressdetails=1";
|
||||
|
||||
$.getJSON(url, function( data ) {
|
||||
//console.log(data.address.city);
|
||||
city = data.address.city;
|
||||
});
|
||||
|
||||
return city;
|
||||
|
||||
}
|
||||
|
|