Google+

Author Archive

Cómo cambia la boca de la mujer con el paso del tiempo

16 de marzo del 2016 En: Salud bucodental

El tiempo pasa por todos, y la boca no es menos. A lo largo de su vida, la boca de la mujer atraviesa varias etapas que la hacen más frágil que la de los hombres. Los cambios hormonales de la pubertad, el embarazo o la menopausia se ven reflejados en su sonrisa, haciéndola más vulnerable, […]

Flemón: ¿Espero a que baje solo o voy al dentista?

9 de marzo del 2016 En: Salud bucodental

“El tiempo todo lo cura”, dicen. Pero este dicho popular no es aplicable para la salud de nuestra boca. Un flemón es una acumulación de pus junto a un diente o muela cuya raíz está afectada por una infección bacteriana, y su origen puede tener diversas causas como acumulación de sarro, una caries que llega […]

Blancorexia: obsesión por los dientes blancos

27 de agosto del 2014 En: Estética bucodental

No todo vale para lucir una sonrisa radiante. Algunas personas, deslumbradas por la imagen que proyectan la publicidad y el cine, con sonrisas de ensueño, terminan desarrollando una patología psicológica llamada blancorexia, que no es más que la obsesión por tener los dientes blancos. ¿En qué consiste exactamente esta obsesión y qué problemas puede provocar […]

¿Es más eficaz el enjuague bucal con alcohol?

5 de junio del 2014 En: Higiene bucodental, Rompemitos

El enjuague bucal con alcohol es para muchos un sacrificio de 30 segundos de escozor que, como contrapartida, nos deja una boca más libre de bacterias. Normalmente, esa sensación de dolor que produce la relacionamos con una mayor eficacia y limpieza, pero ¿esto es realmente así? ¿A mayor porcentaje de alcohol en el colutorio, mayor eficacia? En esta entrega de Rompemitos despejamos los interrogantes sobre algunas creencias muy extendidas relacionadas con el enjuague bucal con alcohol, entre ellas su hipotética relación con el cáncer oral.

Cómo evitar la reaparición de la periodontitis o piorrea

27 de marzo del 2014 En: Salud bucodental

La periodontitis o piorrea se cura, lo que no impide que pueda reaparecer y volver a poner en peligro nuestras encías y, en último término, hacer que perdamos los dientes. Una vez que la hemos sufrido, la probabilidad de que volvamos a padecerla se incrementa, de ahí que sea fundamental evitar su reaparición a través […]

Últimos tweets

  • Canal RSS de esta cuenta de twitter no está disponible en este momento.

Seguir @buccasana en Twitter.

Suscríbete

Web Médica Acreditada. Ver más información

¡Haznos tu consulta!

CERRAR

Tu pregunta ha sido enviada

Nombre *
Email *
Asunto *
Pregunta *
Imagen
* Campos requeridos

He leído y aceptado las condiciones de Política de Protección de Datos, así como el Aviso Legal

'; } /** * * Front end markup for the admin panel screen * * @param none * @return none */ function answerMyQuestionView() { loadMainScripts(); global $plugindir,$wpdb; $table_name = $wpdb->prefix . "answer_my_question"; //Get a list of all questions $result = $wpdb->get_results("SELECT id, date_asked, user_name, user_email, subject, show_on_site, answered, _wp_attached_file FROM $table_name ORDER BY date_asked DESC"); echo '

'.__("Answer My Question").'

Here you can administer all questions submitted by your site users.

 

'; if(count($result) > 0){ echo '
'; foreach($result as $row){ $answerStatus = ($row->answered == 0 ? __('unanswered') : __('answered')); $displayStatus = ($row->show_on_site == 0 ? ''.__("No").'' : ''.__("Sí").''); echo ''; else echo ' '; echo ''; } echo '
'.__("Date Asked").' '.__("Status").' '.__("Name").' '.__("Email").' '.__("Subject").' '.__("Publicar").' '.__("Imagen").' '.__("Actions").'
'.date("m/d/y", strtotime($row->date_asked)).' '.ucfirst($answerStatus).' '.$row->user_name.' '.$row->user_email.' '.$row->subject.' '.$displayStatus.' '; if ($row->_wp_attached_file!='\'\'' && $row->_wp_attached_file!='') echo ' '.__( '.__(
'; }else{ echo ''.__("Looks like you don't have any questions yet!").''; } echo '
'; } /** * * Updates the database record for the question * * @param array $data: Array containing all posted question data * @return boolean True if row has been updated. False otherwise */ function updateQuestionData($data=array()){ global $wpdb; $table_name = $wpdb->prefix . "answer_my_question"; $questionID = $data['id']; $notifyUser = $data['notify']; $userEmail = $data['user_email']; unset($data['id'], $data['posted'], $data['notify'], $data['user_email']); $data['date_response'] = date("Y-m-d G:i:s"); $data['answered'] = 1; $wpdb->update( $table_name, $data, array('id' => $questionID) ); if($wpdb->rows_affected > 0){ //Should user be notified? $result = $wpdb->get_results("SELECT answer, user_name, question, subject, _wp_attached_file FROM $table_name WHERE id = $questionID LIMIT 1;"); foreach($result as $row){ $response = $row->answer; $user_name= $row->user_name; $question= $row->question; $wp_attached_file= $row->_wp_attached_file; $subject=$row->subject; //die("". $response); require('../wp-load.php'); //wp063/wp-content/plugins/answer-my-question/functions.inc.php if(!function_exists('wp_get_current_user')) { include(ABSPATH . "wp-includes/pluggable.php"); } // Create post object $my_post = array(); $my_post['post_title'] = $subject; $cadena=''; if ($wp_attached_file!='\'\'' && $wp_attached_file!='') { $cadena.=''; } $my_post['post_content'] = $cadena.'

20/01/2014 - '.$user_name.' preguntó:

CONSULTA:

'. $question.'

RESPUESTA:

'.$response .'

'; $my_post['post_status'] = 'pending'; $my_post['post_author'] = 2; $my_post['post_category'] = array(4); // Insert the post into the database $new_id=wp_insert_post( $my_post ); //echo $new_id; add_post_meta( $new_id,'ale_post_class', $user_name, true ); } if($notifyUser == 1){ //sendNotificationMail($userEmail, $data['subject'], $data['date_response'], $response); } } return true; } /** * * Send an email notification to a user that requested to be notified * * @param string $email: Email Address * @param string $subject: The subject of the users question * @param string $responseDate: Date of admin response. Should be in MySQL datetime format * @return boolean True if email was sent. False otherwise */ function sendNotificationMail($email, $subject, $responseDate, $response){ $to = $email; $emailSubject = 'Han respondido a tu pregunta'; $message = ' Desde Buccasana han respondido a tu pregunta.

Hola,
Este es un correo automatico desde '.get_bloginfo("name").'.

Tu pregunta: '.$subject.', ha sido respondida el '.date("j/F/Y", strtotime($responseDate)).'.


"'.$response.'"

'; // To send HTML mail, the Content-type header must be set $headers = 'MIME-Version: 1.0' . "\r\n"; //$headers .= 'Content-type: text/html; charset=iso-8859-1' . "\r\n"; $headers .="Content-type: text/html; charset=UTF-8 \r\n"; //$headers .= "Content-type: text/html; charset=utf-8\n"; //Content-Type: text/html; charset="UTF-8" // Additional headers // NOTE: If multiple admins, you need to explode here and change $headers $headers .= 'To: '.$email.' <'.$email.'>' . "\r\n"; $headers .= 'From: '.get_bloginfo('admin_email').' <'.get_bloginfo('admin_email').'>' . "\r\n"; // Mail it //die($headers); if(mail($to, $emailSubject, $message, $headers)){ return true; }else{ return false; } } /** * * Settings options page * * @param none * @return none */ function answerMyQuestionSettings() { loadMainScripts(); if($_GET['settings-updated'] == true){ echo '

'.__("Settings saved").'.

'; } ?>

Settings

Modal title The title text of the question modal window
Modal body Intro text for the modal window body
Notify me of new questions
Email Address One email address per line.