/** * bbPress Search Functions * * @package bbPress * @subpackage Functions */ // Exit if accessed directly if ( !defined( 'ABSPATH' ) ) exit; /** Query *********************************************************************/ /** * Run the search query * * @since bbPress (r4579) * * @param mixed $new_args New arguments * @uses bbp_get_search_query_args() To get the search query args * @uses bbp_parse_args() To parse the args * @uses bbp_has_search_results() To make the search query * @return bool False if no results, otherwise if search results are there */ function bbp_search_query( $new_args = array() ) { // Existing arguments $query_args = bbp_get_search_query_args(); // Merge arguments if ( !empty( $new_args ) ) { $new_args = bbp_parse_args( $new_args, array(), 'search_query' ); $query_args = array_merge( $query_args, $new_args ); } return bbp_has_search_results( $query_args ); } /** * Return the search's query args * * @since bbPress (r4579) * * @uses bbp_get_search_terms() To get the search terms * @return array Query arguments */ function bbp_get_search_query_args() { // Get search terms $search_terms = bbp_get_search_terms(); $retval = !empty( $search_terms ) ? array( 's' => $search_terms ) : array(); return apply_filters( 'bbp_get_search_query_args', $retval ); } /** * Redirect to search results page if needed * * @since bbPress (r4928) * @return If a redirect is not needed */ function bbp_search_results_redirect() { global $wp_rewrite; // Bail if not a search request action if ( empty( $_GET['action'] ) || ( 'bbp-search-request' !== $_GET['action'] ) ) { return; } // Bail if not using pretty permalinks if ( ! $wp_rewrite->using_permalinks() ) { return; } // Get the redirect URL $redirect_to = bbp_get_search_results_url(); if ( empty( $redirect_to ) ) { return; } // Redirect and bail wp_safe_redirect( $redirect_to ); exit(); } /** * bbPress Search Template Tags * * @package bbPress * @subpackage TemplateTags */ // Exit if accessed directly if ( !defined( 'ABSPATH' ) ) exit; /** Search Loop Functions *****************************************************/ /** * The main search loop. WordPress does the heavy lifting. * * @since bbPress (r4579) * * @param mixed $args All the arguments supported by {@link WP_Query} * @uses bbp_get_view_all() Are we showing all results? * @uses bbp_get_public_status_id() To get the public status id * @uses bbp_get_closed_status_id() To get the closed status id * @uses bbp_get_spam_status_id() To get the spam status id * @uses bbp_get_trash_status_id() To get the trash status id * @uses bbp_get_forum_post_type() To get the forum post type * @uses bbp_get_topic_post_type() To get the topic post type * @uses bbp_get_reply_post_type() To get the reply post type * @uses bbp_get_replies_per_page() To get the replies per page option * @uses bbp_get_paged() To get the current page value * @uses bbp_get_search_terms() To get the search terms * @uses WP_Query To make query and get the search results * @uses WP_Rewrite::using_permalinks() To check if the blog is using permalinks * @uses bbp_get_search_url() To get the forum search url * @uses paginate_links() To paginate search results * @uses apply_filters() Calls 'bbp_has_search_results' with * bbPress::search_query::have_posts() * and bbPress::reply_query * @return object Multidimensional array of search information */ function bbp_has_search_results( $args = '' ) { global $wp_rewrite; /** Defaults **************************************************************/ $default_post_type = array( bbp_get_forum_post_type(), bbp_get_topic_post_type(), bbp_get_reply_post_type() ); // Default query args $default = array( 'post_type' => $default_post_type, // Forums, topics, and replies 'posts_per_page' => bbp_get_replies_per_page(), // This many 'paged' => bbp_get_paged(), // On this page 'orderby' => 'date', // Sorted by date 'order' => 'DESC', // Most recent first 'ignore_sticky_posts' => true, // Stickies not supported 's' => bbp_get_search_terms(), // This is a search ); // What are the default allowed statuses (based on user caps) if ( bbp_get_view_all() ) { // Default view=all statuses $post_statuses = array( bbp_get_public_status_id(), bbp_get_closed_status_id(), bbp_get_spam_status_id(), bbp_get_trash_status_id() ); // Add support for private status if ( current_user_can( 'read_private_topics' ) ) { $post_statuses[] = bbp_get_private_status_id(); } // Join post statuses together $default['post_status'] = implode( ',', $post_statuses ); // Lean on the 'perm' query var value of 'readable' to provide statuses } else { $default['perm'] = 'readable'; } /** Setup *****************************************************************/ // Parse arguments against default values $r = bbp_parse_args( $args, $default, 'has_search_results' ); // Get bbPress $bbp = bbpress(); // Call the query if ( ! empty( $r['s'] ) ) { $bbp->search_query = new WP_Query( $r ); } // Add pagination values to query object $bbp->search_query->posts_per_page = $r['posts_per_page']; $bbp->search_query->paged = $r['paged']; // Never home, regardless of what parse_query says $bbp->search_query->is_home = false; // Only add pagination is query returned results if ( ! empty( $bbp->search_query->found_posts ) && ! empty( $bbp->search_query->posts_per_page ) ) { // Array of arguments to add after pagination links $add_args = array(); // If pretty permalinks are enabled, make our pagination pretty if ( $wp_rewrite->using_permalinks() ) { // Shortcode territory if ( is_page() || is_single() ) { $base = trailingslashit( get_permalink() ); // Default search location } else { $base = trailingslashit( bbp_get_search_results_url() ); } // Add pagination base $base = $base . user_trailingslashit( $wp_rewrite->pagination_base . '/%#%/' ); // Unpretty permalinks } else { $base = add_query_arg( 'paged', '%#%' ); } // Add args if ( bbp_get_view_all() ) { $add_args['view'] = 'all'; } // Add pagination to query object $bbp->search_query->pagination_links = paginate_links( apply_filters( 'bbp_search_results_pagination', array( 'base' => $base, 'format' => '', 'total' => ceil( (int) $bbp->search_query->found_posts / (int) $r['posts_per_page'] ), 'current' => (int) $bbp->search_query->paged, 'prev_text' => is_rtl() ? '→' : '←', 'next_text' => is_rtl() ? '←' : '→', 'mid_size' => 1, 'add_args' => $add_args, ) ) ); // Remove first page from pagination if ( $wp_rewrite->using_permalinks() ) { $bbp->search_query->pagination_links = str_replace( $wp_rewrite->pagination_base . '/1/', '', $bbp->search_query->pagination_links ); } else { $bbp->search_query->pagination_links = str_replace( '&paged=1', '', $bbp->search_query->pagination_links ); } } // Return object return apply_filters( 'bbp_has_search_results', $bbp->search_query->have_posts(), $bbp->search_query ); } /** * Whether there are more search results available in the loop * * @since bbPress (r4579) * * @uses WP_Query bbPress::search_query::have_posts() To check if there are more * search results available * @return object Search information */ function bbp_search_results() { // Put into variable to check against next $have_posts = bbpress()->search_query->have_posts(); // Reset the post data when finished if ( empty( $have_posts ) ) wp_reset_postdata(); return $have_posts; } /** * Loads up the current search result in the loop * * @since bbPress (r4579) * * @uses WP_Query bbPress::search_query::the_post() To get the current search result * @return object Search information */ function bbp_the_search_result() { $search_result = bbpress()->search_query->the_post(); // Reset each current (forum|topic|reply) id bbpress()->current_forum_id = bbp_get_forum_id(); bbpress()->current_topic_id = bbp_get_topic_id(); bbpress()->current_reply_id = bbp_get_reply_id(); return $search_result; } /** * Output the search page title * * @since bbPress (r4579) * * @uses bbp_get_search_title() */ function bbp_search_title() { echo bbp_get_search_title(); } /** * Get the search page title * * @since bbPress (r4579) * * @uses bbp_get_search_terms() */ function bbp_get_search_title() { // Get search terms $search_terms = bbp_get_search_terms(); // No search terms specified if ( empty( $search_terms ) ) { $title = esc_html__( 'Search', 'bbpress' ); // Include search terms in title } else { $title = sprintf( esc_html__( "Search Results for '%s'", 'bbpress' ), esc_attr( $search_terms ) ); } return apply_filters( 'bbp_get_search_title', $title, $search_terms ); } /** * Output the search url * * @since bbPress (r4579) * * @uses bbp_get_search_url() To get the search url */ function bbp_search_url() { echo esc_url( bbp_get_search_url() ); } /** * Return the search url * * @since bbPress (r4579) * * @uses user_trailingslashit() To fix slashes * @uses trailingslashit() To fix slashes * @uses bbp_get_forums_url() To get the root forums url * @uses bbp_get_search_slug() To get the search slug * @uses add_query_arg() To help make unpretty permalinks * @return string Search url */ function bbp_get_search_url() { global $wp_rewrite; // Pretty permalinks if ( $wp_rewrite->using_permalinks() ) { $url = $wp_rewrite->root . bbp_get_search_slug(); $url = home_url( user_trailingslashit( $url ) ); // Unpretty permalinks } else { $url = add_query_arg( array( bbp_get_search_rewrite_id() => '' ), home_url( '/' ) ); } return apply_filters( 'bbp_get_search_url', $url ); } /** * Output the search results url * * @since bbPress (r4928) * * @uses bbp_get_search_url() To get the search url */ function bbp_search_results_url() { echo esc_url( bbp_get_search_results_url() ); } /** * Return the search url * * @since bbPress (r4928) * * @uses user_trailingslashit() To fix slashes * @uses trailingslashit() To fix slashes * @uses bbp_get_forums_url() To get the root forums url * @uses bbp_get_search_slug() To get the search slug * @uses add_query_arg() To help make unpretty permalinks * @return string Search url */ function bbp_get_search_results_url() { global $wp_rewrite; // Get the search terms $search_terms = bbp_get_search_terms(); // Pretty permalinks if ( $wp_rewrite->using_permalinks() ) { // Root search URL $url = $wp_rewrite->root . bbp_get_search_slug(); // Append search terms if ( !empty( $search_terms ) ) { $url = trailingslashit( $url ) . user_trailingslashit( urlencode( $search_terms ) ); } // Run through home_url() $url = home_url( user_trailingslashit( $url ) ); // Unpretty permalinks } else { $url = add_query_arg( array( bbp_get_search_rewrite_id() => urlencode( $search_terms ) ), home_url( '/' ) ); } return apply_filters( 'bbp_get_search_results_url', $url ); } /** * Output the search terms * * @since bbPress (r4579) * * @param string $search_terms Optional. Search terms * @uses bbp_get_search_terms() To get the search terms */ function bbp_search_terms( $search_terms = '' ) { echo bbp_get_search_terms( $search_terms ); } /** * Get the search terms * * @since bbPress (r4579) * * If search terms are supplied, those are used. Otherwise check the * search rewrite id query var. * * @param string $passed_terms Optional. Search terms * @uses sanitize_title() To sanitize the search terms * @uses get_query_var() To get the search terms from query variable * @return bool|string Search terms on success, false on failure */ function bbp_get_search_terms( $passed_terms = '' ) { // Sanitize terms if they were passed in if ( !empty( $passed_terms ) ) { $search_terms = sanitize_title( $passed_terms ); // Use query variable if not } else { $search_terms = get_query_var( bbp_get_search_rewrite_id() ); } // Trim whitespace and decode, or set explicitly to false if empty $search_terms = !empty( $search_terms ) ? urldecode( trim( $search_terms ) ) : false; return apply_filters( 'bbp_get_search_terms', $search_terms, $passed_terms ); } /** * Output the search result pagination count * * @since bbPress (r4579) * * @uses bbp_get_search_pagination_count() To get the search result pagination count */ function bbp_search_pagination_count() { echo bbp_get_search_pagination_count(); } /** * Return the search results pagination count * * @since bbPress (r4579) * * @uses bbp_number_format() To format the number value * @uses apply_filters() Calls 'bbp_get_search_pagination_count' with the * pagination count * @return string Search pagination count */ function bbp_get_search_pagination_count() { $bbp = bbpress(); // Define local variable(s) $retstr = ''; // Set pagination values $start_num = intval( ( $bbp->search_query->paged - 1 ) * $bbp->search_query->posts_per_page ) + 1; $from_num = bbp_number_format( $start_num ); $to_num = bbp_number_format( ( $start_num + ( $bbp->search_query->posts_per_page - 1 ) > $bbp->search_query->found_posts ) ? $bbp->search_query->found_posts : $start_num + ( $bbp->search_query->posts_per_page - 1 ) ); $total_int = (int) $bbp->search_query->found_posts; $total = bbp_number_format( $total_int ); // Single page of results if ( empty( $to_num ) ) { $retstr = sprintf( _n( 'Viewing %1$s result', 'Viewing %1$s results', $total_int, 'bbpress' ), $total ); // Several pages of results } else { $retstr = sprintf( _n( 'Viewing %2$s results (of %4$s total)', 'Viewing %1$s results - %2$s through %3$s (of %4$s total)', $bbp->search_query->post_count, 'bbpress' ), $bbp->search_query->post_count, $from_num, $to_num, $total ); } // Filter and return return apply_filters( 'bbp_get_search_pagination_count', esc_html( $retstr ) ); } /** * Output search pagination links * * @since bbPress (r4579) * * @uses bbp_get_search_pagination_links() To get the search pagination links */ function bbp_search_pagination_links() { echo bbp_get_search_pagination_links(); } /** * Return search pagination links * * @since bbPress (r4579) * * @uses apply_filters() Calls 'bbp_get_search_pagination_links' with the * pagination links * @return string Search pagination links */ function bbp_get_search_pagination_links() { $bbp = bbpress(); if ( !isset( $bbp->search_query->pagination_links ) || empty( $bbp->search_query->pagination_links ) ) return false; return apply_filters( 'bbp_get_search_pagination_links', $bbp->search_query->pagination_links ); } Testimonials from Doctors - GIBS

Testimonials from Doctors

 Dr. Sanjay Pandey, Consultant Urology And Renal Transplantation Kokilaben Dhirubhai Ambani Hospital – Mumbai

SSPL Has played a pivotal role in shaping management and awareness of the progressive and debilitating disease -Interstitial cystitis /bladder pain syndrome that afflicts bladder mucosal lining in vast young aged population, predominantly affecting women.
SSPL is the only company in the country and besides the originator in Germany to have made the “definitive and curative” medicine for interstitial cystitis named Sodium Pentosan polysulphate (Comfora as their wonder brand). This medicine replaces and replenishes the damaged glycosaminoglycans layer of the bladder and stabilises the disease from continuous damage of the Interstitium.
SSPL has taken the huge leap in this disease by taking the science and reality of the disease to the doctors in the country and awareness drive to the society as a unique campaign to help many needy patients reach their destination of treatment.
It’s a “SAVE THE BLADDER PROJECT “that they have taken upon themselves by being the only makers of the curative drug of the disease and concerted awareness campaign for both doctors and patients.
They have now embarked on newer delivery mechanisms of the drug that will have far reaching consequences once available as direct intravesical form and liposomal form for the first time.
SSPL Have so many firsts to their credit by doing all the above and I congratulate them for being leaders in a disease with focused drive for the society that will place the campaign to highest levels.


Dr. David M. Kaufman, Chief Urologist, Central Park Urology, NY, USA

I have been associated with Swati Spentose PVT. LTD for close to eight years as a consultant/advisor regarding the medical issues surrounding their product, Pentosan Polysulphate (Comfora). As a clinician specializing in the treatment of Interstitial Cystitis and bladder pain syndromes, I am proud to be associated with this company as they share my commitment to caring for the men and women with this condition worldwide. Until now, only a small percentage of world sufferers with this disease had access to this medication. As a result of the efforts of Swati Spentose developing and manufacturing this medication in their state of the art pharmaceutical manufacturing plant in Vaapi, India, millions of patients around the world will benefit from the availability of this medication. Although treatment of this condition is complicated and requires clinicians to understand its need for multimodal therapy, Pentosan polysulphate remains the cornerstone of treatment for those with Interstitial Cystitis and bladder pain syndrome.


Dr Rajesh Taneja, Senior Consultant Urology, Andrology and Robotic Surgery Indraprastha Apollo Hospitals, New Delhi

Bladder pain syndrome, widely known as Interstitial Cystitis is a disease entity, which is difficult to understand, diagnose and treat. While the patient and their immediate family members keep suffering, they are deprived of help, primarily due to lack of awareness amongst the healthcare providers. Swati Spentose Private Limited (SSPL) happen to have understood this gap in the knowledge and the deficiency in percolation of existing knowledge to physicians. SSPL have decided to bridge this gap and disseminate the knowledge amongst physicians. This is a huge task considering the fact that millions of people across the globe are suffering from this enigmatic disease and are waiting for help. Not only have SSPL committed themselves to provide help in far reaching areas of world, they have also the research and development in the field of diagnosis and treatment of this disease, in a manner that can be labeled as ‘beyond the current horizon’. They began in early 2000 with putting up a world class manufacturing facility now approved by US FDA, to produce Pentosan Poly Sulphate (PPS, Comfora) the sheet anchor of treatment of Bladder Pain syndrome. They have set up a global scientific body of medical experts to initiate the process of standardization of current methods of diagnosis and treatment, plan research to refine the scientific approach to this disease, and invest in basic research to develop what can be termed as ‘futuristic tools for diagnosis and treatment’ of this disease. This has been aptly named as Global Interstitial Cystitis Bladder Pain Society (GIBS). I wish Mr. Vishal Jajodia , philanthropist and the force behind this movement all the very best.


Dr Amita Jain (Sr. Consultant – Urogynecology, Fortis Escorts Kidney & Urology Institute, Delhi)

 GIBS is a very good initiative for giving a place to this debilitating disease “IC/BPS” . This disease is still not recognized among gynecologist as well as urologist and even general practitioners don’t even know the term. This is existence of diseases. So it’s a good initiative by doing these kinds of meetings and by making a guideline like how to diagnose this condition, how to treat this condition. We are actually not only making this disease recognizable, but we can also tell doctors that they can even treat IC patients. What is the use of diagnosing a disease if you don’t know the treatment or if the treatment is not available, hence it is very important to spread the awareness among medical fraternity! And as this is the only FDA approved treatment of this condition, so availability of this medication in India is the best thing. And that why I appreciate you people that you did this. Your company was the first which launch this molecule in India, and once we come to know that it is available than we were more sure about the treatment of these patients and I started treatment in few patients and I saw a good results so it was very good and I change my thought regarding this disease than I started taking these patients and treating these patients.

Dr Apul Goel (Professor, Department of Urology, King George Medical University, Lucknow)

I have been invited to this Forum called as Global Interstitial Cystitis and Bladder Pain Society (GIBS), and I think it’s a really great initiative. Interstitial cystitis and Bladder pain Syndrome are relatively lesser known conditions, and we as urologists are basically surgeons and we are more interested in performing surgeries, and we are less of Physicians, and many times these patients, because of our busy schedule and because these patients need time, so many times we miss these conditions and hence these patients suffer. So for me personally, if you talk about GIBS, the biggest advantage is I got sensitized again, to look for these patients and will surely be able to help them.

Dr Navita Purohit (Consultant Physiatrist -Pain Medicine & Palliative Care, Kokilaben Dhirubhai Ambani Hospital, Mumbai)

Mr. Vishal Jajodia, when I first met him, he talked to me about his vision about Swati Spentose, and the raw material which they are providing which is very important, the Pentosan Polysulfate as a drug for treating Interstitial cystitis. So, I think not only in India, but the patients in other countries, are also be benefitted. I would like to congratulate the team of GIBS for the initiative they have taken, for Nobel work they are doing through. Thank you to Mr. Jajodia for bringing all of us together for a Universal cause, which can make a difference to the society in the coming years.

When we talk about pain, being a pain specialist, I have to treat the symptoms. And when I have to treat the symptoms, I have to treat the pathology because I don’t want the pain to recur, because the patients are going in a bad shape for years together and not diagnosed properly. So, PPS as a molecule, by the time it works it takes a long time to work, but the effect remains for long period of time. PPS is really a good molecule and we have seen great results with around 3 months of therapy, because it takes some time. So, by the time it starts its action, the pain management helps. So, we are treating the pain, the symptoms as well as the pathology.

Dr Ranjana Sharma (Senior Consultant, Obstetrics, Gynaecology, Urogynaecology, Laparoscopic and Robotic surgery, Indraprastha Apollo Hospitals, New Delhi)

I’m really thankful to Mr. Vishal and Mrs. Swati Jajodia for such a wonderful effort to bring all of us together all the urologist, gynecologist and the uro-gynecologist on the same platform to discuss a disease which we cannot actually ignore but very little is known about.

Swati Spentose has a vision, energy and the time to spend on an issue which is so relevant to the fraternity of the doctor and public and I’m sure with their positive approach &  the passion they have for the molecule Pentosan, they can go to any extent to prove its worth and they are also giving us (doctor’s) the opportunity to brainstorm and discuss all the scientific facts evidence so that the patients will be benefited by this molecule which is not used so much in India because of mainly lack of awareness about the molecule.

The molecule seems to be very promising because what we have seen that what is the main pathology in the disease and the cause of the pain of the patient is the lining of bladder that gets disturbed or denuded. We need a protective layer inside the bladder to protect the rest of the bladder wall and this molecule seems to be doing exactly that, and the best thing is that it can also be given orally so it’s a very simple route to administer and we can even install it in bladder, so it’s very good.

Dr Shivam Priyadarshi (Professor,Dept. of Urology, S.M.S.Medical College & Hospital, Jaipur)

Company Swati Spentose Pvt. Ltd. is doing a very good job because in India what is lacking in the various pharmaceutical companies is the research part. So if this company as I could gather is doing a lot of research works in this particular molecule and they have done a very commendable job so I must congratulate the company.

Of the pharmacotherapy, the only drug which is available today is Pentosan Polysuphate which this company is marketing as COMFORA. I think sizable number of patients do respond to this drug. We are in the process of finding even newer molecules and I think this society which has taken this initiative will do a lot in the future.

Dr Suchitra Pandit (Sr.Consultant – Gynecology & Obstetrics at Kokilaben Dhirubhai Ambani Hospital)

Sometimes you really start wondering what is the pain that the patient has. Is it a chronic pelvic pain? And quite often the patient would be labeled as, ‘Oh! Maybe she has got a psychological problem.’

Many a times it would happen that we would not know it earlier, but now I know there is a diagnosis, Of course it’s a diagnosis of exclusion, but at least now we have formed some kind of treatment available. In the last 1and half years we had 3 patients with chronic cystitis and they were wrongly labeled as Chronic Pelvic Pain, and then many of the times people tend to say, ‘Oh! It’s a Psychological cause’. So, though this is a diagnosis of exclusion, I’m very certain, that there are certain pointers to it, and as a Gynaecologist, we should pick it early, and then refer the patient to a urologist who is also having an interest in this particular aspect, and then there would be a treatment.

I’m glad that I have started thinking about it and I’m sure that many of my colleagues now would also start thinking, once we spread that awareness. I’m glad that this GIBS initiative has been taken because, I think that when we are thinking of women, we as gynecologist’s have tend to remove the sufferings in women, and where it is a preventable problem, yes, we do also advocate all those instructions, but where there is a painful condition and alleviate pain certainly. I think GIBS guidelines would go a long way, and will create a lot of awareness.

When I got to know that Swati Spentose were doing a lot of work and they were actually promoting this cause more than actual marketing gimmick, I was very impressed with that, because it is a ‘cause’, and you’re fighting for a cause, and then if you have a product which will take care of that pain, alleviate that pain, I think it’s a great move. And so, I would like to congratulate the owners and the visionaries of this company for having a thought of this brilliant product, it has bought so much relief. It’s easy to use, it’s easily available and it not very expensive and patients can actually afford it, and if its available and it really helps, I think it will go a long way. Sometimes the patients get only pain killers and anti-psychotics, but here it is actually helps in healing the Interstitial Cystitis, and I think it’s a very brilliant molecule.

Dr Uttam Mete (Professor, Department of Urology, PGIMER, Chandigarh)

As most of the research work is taking place in USA, I must say whatever the molecules comes out after research, the consumers are mainly Indians, because our population is really big. So indirectly we are supporting their research. So rather doing that, I think we should support our own research and let them consume our research product.

I must say Swati Spentose is the only company who are after basic research works, and not only in promoting their molecule like others companies.  I don’t know how much they invest for their basic research. For any academic activities many companies does come forward to support these things, but for research I’m not aware of any other company who are selling Urological products which are coming forward. So, in that matter, I must say, Mr. Vishal is doing a great job, has a great visionary, and if at all he’s becoming very successful, he will be a Global Person, and that’s how I think it’s a very good company with a strong vision.

Global Interstitial Cystitis Bladder Pain Syndrome Society. Division of Swati orphan disease foundation under Section 8 of Indian companies Act 2013