Find Jobs
Hire Freelancers

Course display and hide logic

$30-100 USD

Terminado
Publicado hace alrededor de 11 años

$30-100 USD

Pagado a la entrega
In the attached files you'll see [login to view URL] and course_display.php. Use the info in the database to search for a dummy course that I've created. The course should only be visible to user's in the tbl_course_members table where the view_content field is set to "Yes" On an entry to the [login to view URL] page where course_id and course_password are both correct (This logic has been sorted already), this project involves: Task 1 is to be executed directly underneath the line of code in line 160: echo "Cheso Ebox Course: $course_name "; Requirements: Check tbl_course_members to see if .$_SESSION['member_id'] matches applicant_id. If not, then insert into tbl_course_members (application_date, applicant_id, course_id), VALUES ( NOW(), $_SESSION['member_id'] , $course_id The page Below this point only displayed if tbl_course_members.view_content = "Yes". If tbl_course_members.view_content = "No" (which is the default value until changed by an authorised course creator), echo "You will be able to see the course details when you are approved. If and when your teacher approves you, you can refresh the page." Task 2: Hide and display logic. When a course_member who has view_content set to "Yes", enters the page, they should only see the 5 menu items on the left Namely: Instructions & resources Assignments Discussions Start New Discussion Course members The main column (See code: Main Column) should be blank. With the red headings I have in this column, 've tried to very clearly outline the logic of what shows depending on the values of the current user in the tbl_course_members (namely, whether view_content, post_content and creator are set to "Yes" or "No" Ie: If the user is not a creator (ie: [login to view URL] = "No"), but does have permission to view content (view_content = "Yes"), if they click on "Instructions & resources", they should see the content in between the big blue headings INSTRUCTIONS / RESOURCES and /INSTRUCTIONS / RESOURCES & also between the red headings (VISIBLE TO ALL where view_content = Yes) and (/VISIBLE TO ALL where view_content = Yes) ...if the same user then clicks on "Assignments" in the menu, they should see all contents between the big blue headers "ASSIGNMENTS" and "/ASSIGNMENTS" and between the red headings "(VISIBLE TO ALL where view_content = Yes) and (/VISIBLE TO ALL where view_content = Yes) If a user was a creator (ie: creator = Yes in tbl_course_members), and they clicked on "Assignments, they would ALSO see the form and data in between the red headings "(VISIBLE TO CREATOR ONLY) and (/VISIBLE TO CREATOR ONLY) Same logic applies for all the menu items. Any questions, just ask.
ID del proyecto: 4317145

Información sobre el proyecto

11 propuestas
Proyecto remoto
Activo hace 11 años

¿Buscas ganar dinero?

Beneficios de presentar ofertas en Freelancer

Fija tu plazo y presupuesto
Cobra por tu trabajo
Describe tu propuesta
Es gratis registrarse y presentar ofertas en los trabajos
Adjudicado a:
Avatar del usuario
Lets start the work. Thanks.
$50 USD en 2 días
4,9 (47 comentarios)
5,2
5,2
11 freelancers están ofertando un promedio de $65 USD por este trabajo
Avatar del usuario
Hi, I'm a mysql/php expert.
$75 USD en 1 día
5,0 (275 comentarios)
7,4
7,4
Avatar del usuario
LETS GET IT DONE!!!
$60 USD en 2 días
4,9 (278 comentarios)
6,8
6,8
Avatar del usuario
Dear Customer! I am an expert web developer with over 6 years of experience and very interested in this project. Available to start immediately and finish as soon as possible. My bid is for fast professional service exciting my customers. Please contact in PMB to discuss details. Best Regards, Zeke
$100 USD en 1 día
4,5 (187 comentarios)
7,5
7,5
Avatar del usuario
Dear Sir, I understood the requirement. Lets start. Thanks.....
$30 USD en 1 día
4,9 (139 comentarios)
6,6
6,6
Avatar del usuario
i can do it
$30 USD en 14 días
4,9 (148 comentarios)
6,0
6,0
Avatar del usuario
I have a 5+ years of experience in php and open sources. have done 8 big and 22 small projects. Sending you some of my work samples and sure to make you happy to work with me. Check pm for details. thanks!
$50 USD en 3 días
4,6 (82 comentarios)
5,8
5,8
Avatar del usuario
H ii m ready to start
$60 USD en 2 días
4,7 (18 comentarios)
4,1
4,1
Avatar del usuario
hi this is devtechsol and ia m ready to start yoru work please see teh work i did and check my rating Kind Regards Devtechsol
$90 USD en 1 día
5,0 (7 comentarios)
3,6
3,6
Avatar del usuario
I have thoroughly reviewed the scripts and project description. Based on what you require I not only can help you get this part of the app complete but also offer some some additional information on best practice for a simple implementation of the MVC design pattern which you may find useful for this app.
$85 USD en 1 día
5,0 (1 comentario)
1,0
1,0

Sobre este cliente

Bandera de AUSTRALIA
Australia
5,0
95
Forma de pago verificada
Miembro desde dic 22, 2009

Verificación del cliente

¡Gracias! Te hemos enviado un enlace para reclamar tu crédito gratuito.
Algo salió mal al enviar tu correo electrónico. Por favor, intenta de nuevo.
Usuarios registrados Total de empleos publicados
Freelancer ® is a registered Trademark of Freelancer Technology Pty Limited (ACN 142 189 759)
Copyright © 2024 Freelancer Technology Pty Limited (ACN 142 189 759)
Cargando visualización previa
Permiso concedido para Geolocalización.
Tu sesión de acceso ha expirado y has sido desconectado. Por favor, inica sesión nuevamente.